Application.RunScriptFile

Application.RunScriptFile (

string Filename )

Description

Executes the contents of an external script file (.lua).

A script file is simply a text file containing AutoPlay script.

Parameters

Filename

(string) The path to the external script file (.lua). Click the browse button to select a file.

Note: Script files may also be referenced by the filename alone if they are located in the project's AutoPlay\Scripts folder.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions