Where to write application data

Peter Haworth pete at lcsql.com
Wed Jun 5 22:51:53 CDT 2013


Hi Devin,
I've always used the location you mentioned for OSX with a folder for even
the company name of the application name within it..  For Windows, I use
specialFolderpath(26) which I think resolves to /Users/AppData/Roaming
(maybe different on different versions of Windows.

Not sure there's a standard place on Linux but I think I've just used the
users home directory with a company/application folder within that.

Pete
lcSQL Software <http://www.lcsql.com>


On Wed, Jun 5, 2013 at 7:40 PM, Devin Asay <devin_asay at byu.edu> wrote:

> Hi folks,
>
> I know this discussion pops up here from time to time, but I can't find
> what I remember seeing. I checked Nabble, but no luck.
>
> For desktop applications, where can our applications legally write to for
> the three main OS's? I'm not talking about sandboxing for Mac App Store
> apps, just the normal place for writing application files.
>
> For Mac OS X I assume: /Users/myuser/Library/Application Support.
>
> For Windows XP/Vista/7: Something like C:/Documents and Settings/myuser/My
> Documents
>
> For Linux: No idea!
>
> Are any of these derivable from specialFolderPath()? I checked Ken Ray's
> site (http://www.sonsothunder.com/devres/livecode/tips/file010.htm) but
> don't find exactly what I'm looking for there, plus I'm not sure it's 100%
> up to date.
>
> Any tips?
>
> Thanks,
>
> Devin
>
>
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University
>
> _______________________________________________
> 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