On 20 Feb 2005, at 05:34, Trevor DeVore wrote:

On Feb 19, 2005, at 3:36 PM, Dave Cragg wrote:
Could you first get the user's home folder, and then append what is returned from specialFolderPath("asup")?

It seems that this would work given the current location of the user application support folder but I still haven't come across any docs (I haven't looked that hard yet) that discuss whether this folder can be moved in network environments, if it changes based on the language, etc. I did find the following though in the Apple docs:


"Your code should never assume the path to a resource within a file-system domain, as those paths could change in the future. Apple provides public interfaces for accessing standard file-system paths. You should always use these interfaces to locate system resources. See “Searching Within the File-System Domains” for more on searching for items within the domains."

I just went ahead and wrapped up FSFindFolder (I'm pretty sure this is what specialFolderPath uses on Mac) in an external for the time being and filed a feature request for an optional additional parameter to specialFolderPath that would allow you to specify the domain to search under (user,network,local,system).

Just as well. I checked on my wife's account which uses Japanese. Oddly, the "Library" folder at the System level is in Japanese, but at the user level it is in English.

Dave

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to