Application.RunScriptFile

Application.RunScriptFile ( 

string Filename )

Example 1

Application.RunScriptFile(_TempFolder.."\\AddedFunctionality.lua");

Executes the external script file called "AddedFunctionality.lua" that is currently located in the user's Temp folder.

Example 2

Application.RunScriptFile(_SourceFolder.."\\MyScript.lua");

Runs the script file called "MyScript.lua."

Note: _SourceFolder is a built-in variable that contains the path to the folder where the installation executable is located.

See also:  Related Actions