Last active
October 1, 2018 12:50
-
-
Save kern-me/298dde745ad3cc2bc08676bff46168f8 to your computer and use it in GitHub Desktop.
Applescript : Load Script
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 load_script(_scriptName) | |
tell application "Finder" | |
set _myPath to container of (path to me) as string | |
set _loadPath to (_myPath & _scriptName) as string | |
load script (alias _loadPath) | |
end tell | |
end load_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment