Re: set/find original folder of alias
Re: set/find original folder of alias
- Subject: Re: set/find original folder of alias
- From: Nathan Greenstein <email@hidden>
- Date: Fri, 17 Sep 2010 16:20:47 -0700
Is it faster to use coerce the path into a string and use text item delimiters to get rid of the bottom level?
In my experience, string paths are a good deal faster than aliases.
On Wed, Sep 15, 2010 at 08:14, Bert Groeneveld
<email@hidden> wrote:
How can I speed up this script? The more files inside myFolder, the slower the script.
tell application "Finder"
if class of myFolder is alias file then
set myFolder to original item of myFolder -- 0.01 sec if myFolder is empty, but 5 secs. if myFolder contains 7000 images
end if
end tell
_______________________________________________
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
_______________________________________________
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