Skip to content

Instantly share code, notes, and snippets.

@Askhento
Last active June 3, 2023 20:37
Show Gist options
  • Save Askhento/5f8d3783d7713975da140491aba2a401 to your computer and use it in GitHub Desktop.
Save Askhento/5f8d3783d7713975da140491aba2a401 to your computer and use it in GitHub Desktop.
Applescript get selected file paths in POSIX
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