• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Alias Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Alias Files
      • From: KOENIG Yvan <email@hidden>
References: 
 >Alias Files (From: Luther Fuller <email@hidden>)
 >Re: Alias Files (From: Neil Laubenthal <email@hidden>)
 >Re: Alias Files (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Alias Files
  • Next by Date: Re: Alias Files
  • Previous by thread: Re: Alias Files
  • Next by thread: Re: Alias Files
  • Index(es):
    • Date
    • Thread