• 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: Applescript 201 - speed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript 201 - speed


  • Subject: Re: Applescript 201 - speed
  • From: "Stockly, Ed" <email@hidden>
  • Date: Mon, 24 May 2010 11:58:23 -0500
  • Acceptlanguage: en-US
  • Thread-topic: Applescript 201 - speed

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

  • Follow-Ups:
    • Re: Applescript 201 - speed
      • From: Emmanuel LEVY <email@hidden>
    • Re: Applescript 201 - speed
      • From: Tommy Bollman <email@hidden>
References: 
 >Applescript 201 - speed (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Applescript 201 - speed
  • Next by Date: Re: Applescript 201 - speed
  • Previous by thread: Re: Applescript 201 - speed
  • Next by thread: Re: Applescript 201 - speed
  • Index(es):
    • Date
    • Thread