Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: resetting script between runs



At 11:27 +0200 6/4/07, Richard Mayer wrote:
>No, globals are not saved between runs, but maybe you're saving some sort of preference?

I do wish I could get that straight.

I once thought that only properties were saved but other posts on this list lead me to conclude that globals ARE saved, perhaps only if they appear in the main part of a script. I now ALWAYS initialize globals specifically.

The whole idea of a piece of software modifying its binary image and saving it to disk every time it is run remains a foreign concept to me. What's even stranger is that script editor seems - to me - to get confused when the same name is used for different things in two separate scripts that are both open for editing.
-- 

Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >resetting script between runs (From: Håvard Graudo <email@hidden>)
 >Re: resetting script between runs (From: Richard Mayer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.