Re: variables vrs properties
Re: variables vrs properties
- Subject: Re: variables vrs properties
- From: Shane Stanley <email@hidden>
- Date: Thu, 06 Jan 2011 08:49:45 +1100
- Thread-topic: variables vrs properties
On 6/1/11 5:25 AM, "Ed Stockly" <email@hidden> wrote:
> A script must execute within another process. You run a script typically from
> a script menu either in an application or from the system¹s script menu.
>
> An Applet or Droplet works as its own application, even if you launch it from
> a script menu.
>
> When you run a script you save the time it takes to launch applet as an
> application.
>
> In many cases developers have optimized the processes involved in executing
> scripts making them much faster. It¹s often faster to run the same script from
> the InDesign script menu than it is from the System Script menu.
>
> So depending on the context, scripts can execute either a little quicker or a
> lot faster.
The situation is complicated by the fact that the standard AS applet shell
is very slow. You can wrap a script in a "run script", or use a simple
AppleScriptObjC shell, and the difference in performance is like night and
day.
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
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