SpecialFolderPath in standalone

Mark Smith mark at maseurope.net
Thu Dec 23 15:00:01 EST 2004


I can't find anything related to this in the archives, so maybe some 
kind soul can help me out here.

I want to write some prefs to a prefs file in the users library folder 
(this is OS X)

I do this:

on savePrefs
put "file:" & specialFolderPath("Preferences") & "/MyPrefs" into fName
put thePrefs into URL fName
end savePrefs	

This works fine in theIDE, but not at all in the standalone. The file 
is simply not updated.

Any ideas?

Thanks

Mark Smith



More information about the use-livecode mailing list