get specialFolderpath(26)

Ken Ray kray at sonsothunder.com
Tue Oct 15 13:22:00 EDT 2002


> >Thank you Ken (for this and the *numerous* answers you supply!),

My pleasure! Glad to help.


> I have a Mac app which writes a file to the Mac preference folder.
>
> I am looking for a suitable folder for use with Windows, one which
> would be on all systems.
>
> Any suggestions other than specialFolderpath(26) ?

If you get specialFolderPath("preferences") on a Mac, it will give you the
folder location (the Preferences folder in the System folder for OS 9 and
the Preferences folder in the user's Library folder on OS X). "Preferences"
won't work for Windows, so you'll need to user specialFolderPath(26).

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/




More information about the use-livecode mailing list