Name

load script

Syntax

load script aliasOrFile
                     

Description

Returns the top-level script of the compiled script file aliasOrFile as a script object.

Example

set myScript to load script alias "myDisk:myFile"

Get AppleScript: The Definitive Guide 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.