User Application Support folder on OS X?

Trevor DeVore lists at mangomultimedia.com
Sun Feb 20 00:34:26 EST 2005


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).


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com


More information about the use-livecode mailing list