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

Re: Slow Command in Snow Leopard


  • Subject: Re: Slow Command in Snow Leopard
  • From: LuKreme <email@hidden>
  • Date: Mon, 8 Mar 2010 00:37:53 -0700

On 7-Mar-2010, at 14:03, Luther Fuller wrote:
>
> 	tell application "Finder"
> 		set itemsList to (files of prefsRef whose name starts with prefIdent) as alias list

Well, first off, don't use the Finder for that, use System Events.

Second of all, it would be better to get all the files first, then iterate over the list than getting a file each time.

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

Basically, scripting the Finder directly for almost all tasks was deprecated back in, iirc,  10.3


--
'I'll see you all tomorrow. If there is one.' --Men at Arms

 _______________________________________________
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: Shane Stanley <email@hidden>
References: 
 >Slow Command in Snow Leopard (From: Luther Fuller <email@hidden>)

  • Prev by Date: terminal problems
  • Next by Date: Re: Big bug in Excel Applescript?
  • Previous by thread: Re: Slow Command in Snow Leopard
  • Next by thread: Re: Slow Command in Snow Leopard
  • Index(es):
    • Date
    • Thread