Last active
June 3, 2023 20:37
-
-
Save Askhento/5f8d3783d7713975da140491aba2a401 to your computer and use it in GitHub Desktop.
Applescript get selected file paths in POSIX
This file contains 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" to set theSel to selection as alias list | |
repeat with i from 1 to count of theSel | |
set item i of theSel to POSIX path of item i of theSel | |
end repeat | |
return theSel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment