As I’m now working to get an app ready for Sonoma, I’m wondering what the
official resolution is to writing to both the “Preferences” folder and the
“Application Support” folder. What I’m finding is that this question from
Jacque is the last in this thread. Was there a response from Panos or Mar
Good approach. I assume if there is no file in Preferences, you write defaults directly to the
container.
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
"Runtim
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
What I found out is that the app container has permission automatically.
That's the only place though. All other file access has to be initiated by
the user.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 14, 2023 6:18:45 PM Bob
I don’t think there is any way past this. Ultimately the permissions to write
to any path must be authorized by the current user agent. If they accept, well
and good. If not, there cannot be any way around it.
Sent from my iPhone
> On Jul 14, 2023, at 16:07, J. Landman Gay via use-livecode
>
On 7/14/23 4:10 PM, scott--- via use-livecode wrote:
If the file (say a preference.txt file) already exists in the Preferences or
App Support folder, are we able to continue writing to it? In other words, is
this an issue with the creation of the file or also of writing in general?
How are yo
Create file and write permissions are very seldom different.
Sent from my iPhone
> On Jul 14, 2023, at 14:11, scott--- via use-livecode
> wrote:
>
> Hello Jacque, I haven’t encountered this yet so I’m hoping to get some
> advice about how to proceed. 2 questions:
>
> If the file (say a p
Hello Jacque, I haven’t encountered this yet so I’m hoping to get some advice
about how to proceed. 2 questions:
If the file (say a preference.txt file) already exists in the Preferences or
App Support folder, are we able to continue writing to it? In other words, is
this an issue with the c
Hello Jacque, I haven’t encountered this yet so I’m hoping to get some advice
about how to proceed. 2 questions:
If the file (say a preference.txt file) already exists in the Preferences or
App Support folder, are we able to continue writing to it? In other words, is
this an issue with the c
Thank you for sharing.
That’s a very useful snippet to save for the future.
Paul
> On Jul 10, 2023, at 1:11 PM, J. Landman Gay via use-livecode
> wrote:
>
> After innumerable tests and failures I've figured out how to read/write to
> the Application Support folder on newer versions of MacOS
After innumerable tests and failures I've figured out how to read/write to the Application
Support folder on newer versions of MacOS X. Manually setting permissions in System Settings
didn't work for my tester, and Ventura never did ask him to allow file access, so he was stuck.
In case anyone
11 matches
Mail list logo