|

ResultVariable


image

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

Application.Minimize

OverviewExamples

Application.Minimize ( )


De s cr ip t ion


Minimizes the application's window to the task bar.


Note: This action is the same as pressing the minimize button on the title bar.


image

P arame t er s


None.


Re t u r n s


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


See also: Related Actions


image

image

Application.Restore

OverviewExamples

Application.Restore ( )


De s cr ip t ion


Restores the application's window to the size and position it had before it was minimized.


Note: This action is the same as pressing the restore button on the title bar.


image

P arame t er s


None.


Re t u r n s


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


See also: Related Actions


image

image

Application.RunScriptFile

OverviewExamples

Application.RunScriptFile ( string Filename )


De s cr ip t ion


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


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


P arame t er s


Filename


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


image

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


Re t u r n s


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


See also: Related Actions


image

image

Application.SaveValue

OverviewExamples

Application.SaveValue ( string Section,


string Key,


string Value )


De s cr ip t ion


Saves a value to the user's system so it can be retrieved later with an Application.LoadValue action.


P arame t er s


Section


(string) The name of the "section" that the value will be saved in.


Note: If the section doesn't exist it will be created automatically.


image

|