Where to write a shared file to?

Graham Samuel livfoss at mac.com
Thu Feb 28 12:45:25 EST 2013


Tom, unless I've misunderstood what you need, why not use the specialFolderPath("support") path? These are paths that can be written to by an application on both platforms. It's easy to see what the path actually is, so you can tell the low level application. I'm using this approach for somewhere to put a data stack (a stack that can be saved at runtime) on a two-platform app and it works for me.

HTH

Graham
On 28 Feb 2013, at 18:32, Thomas McGrath III wrote:

> I am working on a cross-platform (Mac/Windows) app and I had to hire out for a low level application to be written that will trap 'all' key events on both platforms. Pretty straight forward. It timestamps and writes the key or keys that were hit out to a file that I in turn look for changes to from within LC. The key trapper will have it's own installer and I need to tell it where to write to before it is built.
> 
> My question is where is the best place to write this file to on a Mac? on a PC?
> 
> I am not going through the Mac App store but I don't want to run into problems with permissions etc. once deployed.
> 
> 
> I am searching online now but there is a lot of gobble goop that is not pertinent.
> 
> Any help or ideas are appreciated.
> 
> Tom
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> mcgrath3 at mac.com
> 
> 
> _______________________________________________
> 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