• 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: Original item in Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Original item in Finder
      • From: "Gary (Lists)" <email@hidden>
References: 
 >Original item in Finder (From: Jay Louvion <email@hidden>)

  • Prev by Date: Original item in Finder
  • Next by Date: Re: Original item in Finder
  • Previous by thread: Original item in Finder
  • Next by thread: Re: Original item in Finder
  • Index(es):
    • Date
    • Thread