Created
April 1, 2016 01:17
-
-
Save masnick/5695eda73bb1e09d7d36c46a32b744e3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tell application "Finder" | |
| set finderSelList to selection as alias list | |
| end tell | |
| if finderSelList ≠ {} then | |
| repeat with i in finderSelList | |
| set contents of i to POSIX path of (contents of i) | |
| end repeat | |
| set AppleScript's text item delimiters to linefeed | |
| return finderSelList as text | |
| end if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment