AutoPlay Media Studio 9

Application.RunScriptFile

Application.RunScriptFile

This is the first topic This is the last topic  

Application.RunScriptFile

This is the first topic This is the last topic  

OverviewExamples

Application.RunScriptFile (

string Filename )

Example 1

Application.RunScriptFile("AutoPlay\\Scripts\\AddedFunctionality.lua");

Executes the external script file called "AddedFunctionality.lua" that is currently located in "AutoPlay\Scripts."

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 autorun.exe file is located.

See also: Related Actions


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us