Last active
January 17, 2020 15:29
-
-
Save kern-me/4b5fde6c68e8a81336100f6baf644c2f to your computer and use it in GitHub Desktop.
Applescript : Get the Current File Path
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
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