Re: Script Editor vs. Applet
Re: Script Editor vs. Applet
- Subject: Re: Script Editor vs. Applet
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 29 Jun 2010 10:53:39 -0400
On Jun 29, 2010, at 9:45 AM, Deivy Marck Petrescu wrote:
> On Jun 28, 2010, at 1:44 PM, Stockly, Ed wrote:
>
>> Each time Script Editor runs it clears the values of globals and properties.
>>
>
> Ed,
> this is not true.
> Global values and properties are retained after each run.
> Unless one recompiles the script, the values are kept.
This is true. However, it has long been the case that many third-party script runner applications do not properly save changed global variables and properties in applets. This is because the Cocoa framework class that is usually used by script runner applications to execute scripts (NSAppleScript) has never saved changed globals and properties in applets. Many developers are not aware of this shortcoming in the Cocoa frameworks, or that another class (OSAKit) has a similar method that does properly save changed globals and properties.
--
Bill Cheeseman - email@hidden
_______________________________________________
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