Re: is there any way of speeding this up, please?
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