Solved: Writing to Mac Application Support folder

J. Landman Gay jacque at
Sat Jul 15 16:22:01 EDT 2023

Good approach. I assume if there is no file in Preferences, you write defaults directly to the 

I got curious and looked at where LC stores its files. They do not have a container. It's 
mostly in Application Support, in a folder "RunRev" (there's also an older one there named 
"Runtime Revolution".) Some of the files were updated recently so it apparently still works. 
Now I wonder if there's another way to do this stuff.

I'd like some definitive info about this. @Panos? @Mark?

On 7/15/23 12:24 AM, scott--- via use-livecode wrote:
> Thanks again, Jacque.
> My solution for migrating preference files from the Preferences folder to the Container turned out to be quite simple but for some reason I spent a bunch of time pondering other more complicated methods. In the end I changed an existing function which returns a path to the preferences file and had it first look to see if a Container exists. If it doesn’t then it creates the Container but still returns the path to the original Preferences folder. (This works in my use case because the app's first call to this function will always be to “read” the preference file)  Now that the Container exists, all future calls to the function will return the Container path… and the original data, having been already loaded into the app, is ready to write to (and read from) the new Container location.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the use-livecode mailing list