• 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: Luther Fuller <email@hidden>
  • Date: Mon, 24 May 2010 12:54:25 -0500

On May 24, 2010, at 10:01 AM, Robert Poland wrote:

I was wondering if there are any guidelines for speeding up a script?

A couple of months ago, I reported [Subject: Slow Command in Snow Leopard] that

tell application "Finder"
set itemsList to (files of prefsRef whose name starts with prefIdent) as alias list

which was inside a loop, was so slow as to be useless. (Following up on a suggestion from Mark Reed,
I replaced this with a do shell script "ls ..." which was fast.)

There seem to be a number of Finder commands which are particularly slow (and seem to have become slow with the arrival of Snow Leopard).
We need to:
1. Identify these commands;
2. Report them as bugs; and
3. Avoid them until they are fixed.

 _______________________________________________
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: 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