Re: Applescript 201 - speed
Re: Applescript 201 - speed
- Subject: Re: Applescript 201 - speed
- From: Tommy Bollman <email@hidden>
- Date: Mon, 24 May 2010 20:19:43 +0200
Den 24. mai 2010 kl. 18.58 skrev Stockly, Ed:
>
> This list is a good place to start, but it's impossible to give you
> specifics unless you give us specifics about what is slow and what needs to
> speed up.
>
> In general:
>
> Using Script Objects can provide speed boosts for many kinds of operations,
> so you may search for that.
>
> Some applications have script menus which speed up scripts for those
> applications.
>
> One thing that slows down some scripts is the inefficient use of appleEvent
> calls. There are cases where a single call can replace hundreds. You may
> want to search for "who's clauses."
>
> Some finder commands can be handled more efficiently with System Events, and
> there are OSAX speed up many tasks.
>
> Many scripts can also be enhanced by optimizing for speed. Someone
> mentioned loops, that's probably the parts of scripts that have the most
> inefficiency.
>
> Here's a link for searching:
> http://lists.apple.com/archives/applescript-users/2010
>
> Macscripter.net is also a good resource, but I find searching the site
> pretty frustrating.
>
> HTH,
>
> ES
>
>
>
>
> On 5/24/10 8:01 AM, "Robert Poland" <email@hidden> wrote:
>
>> Hi,
>>
>> I was wondering if there are any guidelines for speeding up a script?
>>
>>
>> Robert Poland - Fort Collins, CO
>>
>>
>>
>
> _______________________________________________
> 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
>
Comment on frustrating in searching macscripter.net
macscripter.net is one of those *WONDERFUL* sites where you can:
"site:macscripter.net speed" from the command bar, and get a much well speedier result.
(So I'm not off-topic! :-))
Best regards
Tommy Bollman
--------------------------------------------------------------------------------------------------
You will be advanced socially,
without any special effort on your part.
_______________________________________________
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