Where Do You Save User Prefs?
Andrew Henshaw
henshaw at me.com
Sun May 27 02:50:24 EDT 2012
Not sure if its right, but for Windows I always use...
specialfolderpath("28") & "/App Name/
This seems to find the right place on different Windows systems and avoids the data ending up in a virtual store.
On 27 May 2012, at 03:32, Igor de Oliveira Couto wrote:
> Dear LiveCode Masters,
>
> Could you experienced folks please give us a concise direction on *where* and *under what name/extension* to save user preferences in the different platforms?
>
> 1) MacOS X
> Prefs Location: specialFolderPath("Preferences")
> Prefs Name: anything you wish, but convention is that if saving your preferences using your own file format - like a LiveCode stack - then name it something like "MyApp Prefs". If saving a .plist file, then use the reverse-domain convention: "com.mycompany.myapp.plist".
>
> 2) Windows
> Prefs Location: ???
> Prefs Name: ???
>
> 3) Linux
> Prefs Location: ???
> Prefs Name: ???
>
> 4) iOS
> Prefs Location: ???
> Prefs Name: ???
>
> 5) Android
> Prefs Location: ???
> Prefs Name: ???
>
> Your guidance is truly appreciated.
>
> Kind regards to all,
>
> --
> Igor Couto
> Sydney, Australia
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list