Re: Alias Files
Re: Alias Files
- Subject: Re: Alias Files
- From: KOENIG Yvan <email@hidden>
- Date: Fri, 1 Aug 2008 20:36:12 +0200
Select the icon of the item which you are trying to link to its
original file
Copy to the clipboard
Run this script
tell application "Finder"
set thePath to (the clipboard as «class furl») as Unicode text
if class of item thePath is alias file then
set originalPath to original item of item thePath as Unicode text
else
set originalPath to thePath
end if
end tell
display dialog originalPath
Just an example of the use of «class furl»
Yvan KOENIG (from FRANCE vendredi 1 août 2008 20:35:47)
_______________________________________________
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