SpecialFolderPath in standalone
Mark Brownell
gizmotron at earthlink.net
Thu Dec 23 15:23:14 EST 2004
On Thursday, December 23, 2004, at 12:00 PM, Mark Smith wrote:
> 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
if the platform is "MacOS" then
put specialFolderPath("preferences") into regStatGoPath
put regStatGoPath & "/text.txt" into stashAdX
end if
if there is a file stashAdX then
answer Yes, there is a file"
put URL ("binfile:" & stashAdX) into temp
put compress(temp) into hipR
put base64Encode(hipR) into URL ("binfile:" & stashAdX)
end if
or:
put URL ("file:" & stashAdX) into temp
put temp into URL ("file:" & stashAdX)
HTH,
Mark
More information about the use-livecode
mailing list