• 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: is there any way of speeding this up, please?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is there any way of speeding this up, please?


  • Subject: Re: is there any way of speeding this up, please?
  • From: Axel Luttgens <email@hidden>
  • Date: Sun, 26 Feb 2012 10:55:47 +0100

Le 26 févr. 2012 à 09:52, Brian Christmas a écrit :

> G'day
>
> I'd like to speed the following script up (up very simple example of a long script). Line 2 is slow, but line 4 is agonisingly slow, with large selections.
>
> Any hints please?
>
> Regards
>
> Santa
>
> tell application "Finder"
> 	set x to selection as alias list
> 	tell window 1
> 		select x
> 	end tell
> end tell

Hello Brian,

Could you explain the purpose of your full script? I ask, because making use of the selection is often unneeded (and, yes, quite slow) when the purpose is to automate file operations.

Now, wrt your sample script, is the "as alias list" part really needed? If you only make use of Finder statements, there should be a way to avoid that conversion.

HTH,
Axel


 _______________________________________________
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


References: 
 >is there any way of speeding this up, please? (From: Brian Christmas <email@hidden>)

  • Prev by Date: is there any way of speeding this up, please?
  • Next by Date: Re: is there any way of speeding this up, please?
  • Previous by thread: is there any way of speeding this up, please?
  • Next by thread: Re: is there any way of speeding this up, please?
  • Index(es):
    • Date
    • Thread