Guest User

Untitled

a guest
Jun 18th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. tell application "Finder"
  2. set selectedItem to the selection as alias
  3. URL of selectedItem --ouput: file://localhost/Volumes/server/folder1/folder2/filename
  4. POSIX path of selectedItem --output: /Volumes/server/folder1/folder2/filename
  5. end tell
Add Comment
Please, Sign In to add comment