Re: "Save changes to script" when it terminates?
Re: "Save changes to script" when it terminates?
- Subject: Re: "Save changes to script" when it terminates?
- From: Michael Terry <email@hidden>
- Date: Tue, 16 Mar 2004 11:33:23 -0800
On Mar 16, 2004, at 8:14 AM, Robert Poland wrote:
What other rules apply to this phenomenon?
For example this script seems to update every time it is opened.
You never know what AS is going to get up to behind your back. It saves
a so-called global context whenever a script is saved, and I haven't
been able to work out what all that consists of. Here's one I didn't
think of until I read your question:
try
return result
on error
display dialog "Hello"
3
end try
Run it twice from a script editor, and you'll see that AS saves the
contents of the special 'result' variable between runs.
Mike
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.