• 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
path of a Finder item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

path of a Finder item


  • Subject: path of a Finder item
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Wed, 22 Mar 2017 16:58:02 +0900

Hello all,

Is there a more straightforward way to get the posix path of a Finder item (something I'd need to send to the Terminal as an argument):

tell application "Finder"
set projet_path to POSIX path of (selection as alias)
end tell

I'm fine with this, since it works, but it seems a bit convoluted.

Jean-Christophe 

 _______________________________________________
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: path of a Finder item
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Resize NSImage without anti-aliasing
  • Next by Date: Re: path of a Finder item
  • Previous by thread: Re: "current date" not working in AS 2.4?
  • Next by thread: Re: path of a Finder item
  • Index(es):
    • Date
    • Thread