Re: Original item in Finder
Re: Original item in Finder
- Subject: Re: Original item in Finder
- From: Shane Stanley <email@hidden>
- Date: Tue, 30 Aug 2005 20:23:58 +1000
- Thread-topic: Original item in Finder
On 30/8/05 8:15 PM, "Jay Louvion" <email@hidden> wrote:
> Can someone show me how ³original item² is used ?
> The following returns the most surprising error:
>
> tell application "Finder"
> set folderalias to choose folder
> set thefolder to original item of folderalias
> return thefolder
> end tell
>
> Finder got an error: can¹t return original item of alias
> ³full:path:to:an:exisiting:file²
>
> My point is to get the name of a file or folder pointed to by an alias without
> starting to cut up an alias with ³:² text delimiters...
> But I might simply be looking at it the wrong way round.
Original item is for use with alias files, as in aliases made manually in
the Finder using File -> Make Alias -- it returns the file or folder that
the alias was made from. I suspect that what you're after is the
"container".
--
Shane Stanley <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:
This email sent to email@hidden