• 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: path to selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: path to selection


  • Subject: Re: path to selection
  • From: Andrew Oliver <email@hidden>
  • Date: Sun, 02 Mar 2003 04:36:55 -0800

tell application "Finder"
get selection as alias
end tell


Note: WILL fail if more than one item is selected, in which case you should
just get selection (which returns a list) and iterate through the list,
coercing to aliases as you go.

Andrew
:)

On 3/2/03 3:57 AM, "Thomas Strohmaier" <email@hidden> wrote:

> Hallo,
>
> how can i get a path like "mydisk:myfolder1:myfolder2:myfile" from a
> selection in the finder?
>
> thx
> Thomas
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: path to selection
      • From: Michelle Steiner <email@hidden>
References: 
 >path to selection (From: Thomas Strohmaier <email@hidden>)

  • Prev by Date: path to selection
  • Next by Date: [MAIL] Various questions
  • Previous by thread: path to selection
  • Next by thread: Re: path to selection
  • Index(es):
    • Date
    • Thread