Re: Propeties don't persist from run to run in applet. What are my alternatives?
Re: Propeties don't persist from run to run in applet. What are my alternatives?
- Subject: Re: Propeties don't persist from run to run in applet. What are my alternatives?
- From: Shane Stanley <email@hidden>
- Date: Sat, 17 Oct 2015 11:05:01 +1100
On 17 Oct 2015, at 10:22 AM, edmund ronald <email@hidden> wrote:
>
> If it's a standard problem, why doesn't Apple solve it?
Because it's not a "standard problem". AppleScript preferences are saved by writing the modified script file to disk whenever a property changes. When an app is codesigned, obviously the contents can't be modified. It's a system designed in another era.
It's possible that AppleScript could be modified so that property values in applets were instead stored via the normal defaults mechanism other apps use, but it would probably require a new file format and possibly wouldn't be backwards compatible. And it would probably cause complications with editing.
But nothing's likely to happen unless people ask for it. <https://bugreport.apple.com>
> What are my alternatives?
Save the values yourself in a file somewhere.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden