• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Save changes to script" when it terminates?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: "Save changes to script" when it terminates? (From: Paul Berkowitz <email@hidden>)
 >Re: "Save changes to script" when it terminates? (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Drive mapping question
  • Next by Date: RE: Drive mapping question
  • Previous by thread: Re: "Save changes to script" when it terminates?
  • Next by thread: Please Help! Reading Unicode Text
  • Index(es):
    • Date
    • Thread