Re: set/find original folder of alias
Re: set/find original folder of alias
- Subject: Re: set/find original folder of alias
- From: Luther Fuller <email@hidden>
- Date: Fri, 17 Sep 2010 19:00:55 -0500
On Sep 15, 2010, at 10:14 AM, Bert Groeneveld 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
Just noticed, but shouldn't the second line be ...
if class of item myFolder is alias file then
For example ...
set fileAlias to alias "OS_X:Users:lutherfuller:Desktop:CommentRepair.app" tell application "Finder" class of fileAlias --> alias class of item fileAlias --> «class alia» (class of item fileAlias) as text --> "alias file" 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