Need help about some code in Mac
BlitzMax Forums/BlitzMax Programming/Need help about some code in Mac
| ||
1. what code to get special folder in mac ? 2. how to open a directory from app in mac. in windows i use OpenURL(), but it doesn't work in mac. thanks before :) |
| ||
1. what code to get special folder in mac ? Brucey's bah.volumes module can return a number of the special folders on Mac/Windows/Linux |
| ||
2. how to open a directory from app in mac. This seems to be the way to do it in Obj-C : http://stackoverflow.com/questions/7652928/launch-osx-finder-window-with-specific-files-selected I don't have a wrapper for that, but it shouldn't be too hard to make one. |
| ||
2. how to open a directory from app in mac. OpenURL("file://yourDirectoryPath/yourDirectorySubPath/aso/bla/") Use the "file://" statement to open file and directory urls. This will open Finder instead of Safari! |
| ||
thanks to all of you guys.. i'll try it :D |