Hello, Bill,

Not very long ago, I had the same question, and several users contributed their 
knowledge and experience in the different platforms, helping me compile an 
answer:

On 17/06/2012, at 6:28 AM, Bill Vlahos wrote:

> Where do folks put application specific preferences on Windows and LInux?

The answer I compiled from all replies and pointers received was:

1) MacOS X
Prefs Location: specialFolderPath("Home") & "/Library/Application 
Support/MyCompany/MyAppBundleID/" - - Apple requires you to use the 
application's bundle id for the *folder name*

2) Windows
Prefs Location: specialFolderPath("0x001a") & "/MyApp/"

3) Linux
Prefs Location: there does not seem to be a 'standard', but several programs 
seem to take the approach of creating a hidden folder in the user's home 
directory - specialFolderPath("Home") & "/.myapp/"

4) iOS
Prefs Location: specialFolderPath("library") & "/MyAppBundleID/" - Apple 
requires you to use the application's bundle id for the *folder name*

5) Android
Prefs Location: specialFolderPath("documents")

The information above will help you find or create the appropriate directory in 
which to save your preferences file. The preferences file itself can be called 
pretty much anything you want, as there do not seem to be any strict guidelines 
in any current platform.

I hope this information helps!

--
Igor Couto
Sydney, Australia


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to