Basically I could then use things like “tell Helpers” later on and access this script with common functions that I use.
It used to work when I had a file named “something.ascript” that called “helpers.scpt” (it is in the same folder) like above… BUT by simply changing the file to “something.scpt” instead (more accessible by script editor) it won’t compile.
It says “Can’t make file “:helpers.scpt” into type file.”
If you’re running Mavericks or later, consider using script libraries instead. Then AppleScript can search for the file in the designated Script Libraries folders, including one in the script’s bundle if it’s an applet or script bundle. Then the syntax becomes: