Re: Alias Files
Re: Alias Files
- Subject: Re: Alias Files
- From: Luther Fuller <email@hidden>
- Date: Fri, 1 Aug 2008 13:37:05 -0500
On Aug 1, 2008, at 1:24 PM, KOENIG Yvan wrote:
Maybe this kind of code may help:
set thePath to "Macintosh HD:Users:yvan_koenig:Desktop:ƒ banque:"
tell application "Finder"
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
That's equivalent to the "other work-around" that I'm trying to avoid.
The best solution is to find a shell command that can read the (posix)
path to the original item even if it's not mounted. If the Info window
contains the posix path, and it does, then there should be a way to
read it.
_______________________________________________
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