• 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
Slow Command in Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Slow Command in Snow Leopard


  • Subject: Slow Command in Snow Leopard
  • From: Luther Fuller <email@hidden>
  • Date: Sun, 07 Mar 2010 15:03:53 -0600

Some years ago, I wrote an AppleScript application called "Annotate Preferences". It ran well in Tiger. It took minutes to run, but one didn't have to run it very often. When leopard came along, it continued to run within a reasonable time.

Then Snow Leopard arrived. "Annotate Preferences" now ran in hours instead of minutes and became almost useless. All attempts to rewrite the code proved useless. Today, I was able to identify all the fast code and was left with one offending command.

I have a repeat loop which repeats 100s of times. It contains the line ...

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

(prefsRef is an alias to the Preferences folder and prefIdent is a string)
In Snow Leopard this one line is so slow that, while the script is running, the Finder lack responsiveness. Scroll bars don't work, mouse clicks don't work, ...... then they work.

Anyone know what's going on in SL that would cause this?

 _______________________________________________
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: Slow Command in Snow Leopard
      • From: LuKreme <email@hidden>
    • Re: Slow Command in Snow Leopard
      • From: Michelle Steiner <email@hidden>
    • Re: Slow Command in Snow Leopard
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Re: Word crashing sometimes on find and replace
  • Next by Date: Big bug in Excel Applescript?
  • Previous by thread: Word crashing sometimes on find and replace
  • Next by thread: Re: Slow Command in Snow Leopard
  • Index(es):
    • Date
    • Thread