Name
run script
Syntax
run scriptaliasOrFile
[with parameterslist
]
Description
Tells the top-level script of the compiled script file, applet, or text file aliasOrFile
to run (compiling first if necessary), optionally handing it the list
as the parameters for its explicit run handler, and returns the result.
Example
run script alias "myDisk:myFile.scpt"
Get AppleScript: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.