SpecialFolderPath in standalone

Richard Gaskin ambassador at fourthworld.com
Thu Dec 23 15:12:09 EST 2004


Mark Smith wrote:
 > 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)

Try this and see what you get:

on savePrefs
  put "file:" & specialFolderPath("Preferences") & "/MyPrefs" into fName
  ANSWER THE RESULT --< see what the engine tells you
  put thePrefs into URL fName
end savePrefs


--
  Richard Gaskin
  Fourth World Media Corporation
  __________________________________________________
  Rev tools and more: http://www.fourthworld.com/rev


More information about the use-livecode mailing list