Re: Script Editor vs. Applet
Re: Script Editor vs. Applet
- Subject: Re: Script Editor vs. Applet
- From: Deivy Marck Petrescu <email@hidden>
- Date: Tue, 29 Jun 2010 14:54:08 -0400
On Jun 29, 2010, at 10:53 AM, Bill Cheeseman wrote:
>
> 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.
Thanks for this info. After reading this I did try with Apple's native script runner and it does save the globals and proerties.
> 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.
Thanks for this info as well...
>
> --
>
> Bill Cheeseman - email@hidden
>
Deivy Petrescu
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