Load external script


I am trying to make an applescript that runs another applescript file and I’m not sure how it can be done. I’ve tried searching and found nothing, maybe I’m just not searching for the right phrases. anyway I want to do something like this

applescript stuff

–I want to load an external applescript with something like
run “myScript.scpt”

applescript stuff

I could just put the contents of the other script in this script, but I would like to keep it one file, so I can update one script and not have to update the other one as well.


run script ((path to scripts folder as text) & “Name_Of_Script.scpt”) as alias