Skip to content

Instantly share code, notes, and snippets.

@kern-me
Last active October 1, 2018 12:50
Show Gist options
  • Save kern-me/298dde745ad3cc2bc08676bff46168f8 to your computer and use it in GitHub Desktop.
Save kern-me/298dde745ad3cc2bc08676bff46168f8 to your computer and use it in GitHub Desktop.
Applescript : Load Script
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