Re: Applescript coding
Re: Applescript coding
- Subject: Re: Applescript coding
- From: Shane Stanley <email@hidden>
- Date: Wed, 20 May 2015 10:13:06 +1000
On 20 May 2015, at 5:26 am, Yvan KOENIG <email@hidden> wrote:
>
> When I work upon such scripts in the Apple's Script Editor, after a few executions of the script, I get an infamous error -4960.
I suspect this is a by-product of an autosave. You might try manually saving before each run, to see if that fixes the problem. (Or not -- you have a better solution.)
> If I work in Shane's ASObjC Explorer 4, this error never strike.
Explorer also uses autosaving, but the script that is saved is a separate compiled copy with no values in the variables, and that seems to keep the problem at bay. (It avoids errors from trying to save pointers in scripts, which is what I suspect is ultimately behind the Script Editor problem.)
--
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