Re: When are properties set?
Re: When are properties set?
- Subject: Re: When are properties set?
- From: Stan Cleveland <email@hidden>
- Date: Thu, 04 Sep 2008 16:34:13 -0700
- Thread-topic: When are properties set?
On Sep 4, 2008, at 4:46 PM, Ian Goos wrote:
> Hey Luther,
> I think the property resets to what you typed because you reopened
> the script in Script Editor....
>
> Cheers!
> Ian
On 9/4/08 3:33 PM, "Luther Fuller" wrote:
> No. I need to clarify this.
> The script was saved as an uneditable application bundle ... so I
> didn't edit it.
Typically, when a property is changed, the new value is stored in memory
until script execution is complete. At that point the state of the script is
written back to the script file, including the value of said property.
(Perhaps you've noticed that the modification date of a script application
changes with every execution.)
By interrupting your script before execution is complete, the opportunity to
store the property is lost. The last stored state--from the most recent
*complete* run--will be the starting state of the next run.
Stan C.
_______________________________________________
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