• 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: Script Editor vs. Applet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Script Editor vs. Applet
      • From: Shane Stanley <email@hidden>
    • Re: Script Editor vs. Applet
      • From: Deivy Marck Petrescu <email@hidden>
References: 
 >Re: Script Editor vs. Applet (From: "Stockly, Ed" <email@hidden>)
 >Re: Script Editor vs. Applet (From: Deivy Marck Petrescu <email@hidden>)

  • Prev by Date: Re: Script Editor vs. Applet
  • Next by Date: Re: Script Editor vs. Applet
  • Previous by thread: Re: Script Editor vs. Applet
  • Next by thread: Re: Script Editor vs. Applet
  • Index(es):
    • Date
    • Thread