Skip to content

Instantly share code, notes, and snippets.

@kern-me
Last active Oct 1, 2018
Embed
What would you like to do?
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