ScriptGetActiveFile

 

Get the activation status of a specific script file in a script 'At Program Running' .

 

int @ScriptGetActiveFile(string scriptfile);

 

Parameters

string scriptfile : The name of the script file to get the activation status

 

Return Value

Returns the current script activation status. (1=active, 0=inactive) 

 

Example

active = ScriptGetActiveFile("test.ctlx");

 

Description : Get the active status of the test.ctlx script from 'At Program Running' script and returns it to the active variable.

 

Version Information

Supported Version : 10.2.5 or higher

 

Related Helps

@ScriptGetActiveAll()

@ScriptGetActiveFile()

@ScriptSetActiveAll()

@ScriptSetActiveFile()