Is there a way to use defined AppleScript methods in other AppleScripts which reference the original AppleScript with something similar to import (f.e. in PHP)?
I wr
Script Foo.scpt
Foo.scpt
set theBar to "path:to:Bar.scpt" as alias run script (theBar)
Script Bar.scpt
Bar.scpt
display dialog "Bar"
Result: A window that displays "Bar"