Skip to content

Instantly share code, notes, and snippets.

@kern-me
Last active January 17, 2020 15:29
Show Gist options
  • Save kern-me/4b5fde6c68e8a81336100f6baf644c2f to your computer and use it in GitHub Desktop.
Save kern-me/4b5fde6c68e8a81336100f6baf644c2f to your computer and use it in GitHub Desktop.
Applescript : Get the Current File Path
on setFilePath(fileName)
set a to POSIX path of ((path to me as text) & "::")
set b to a & fileName
return b as string
end setFilePath
#setFilePath("test.txt")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment