A SERVICE OF

logo

ZENworks® ESM 3.5 Administrator’s Manual 158
Action.EnableAdapterType true, eWIRED
Action.EnableAdapterType false, eDIALUPCONN
Action.EnableAdapterType true, eDIALUPCONN
Launch
Note
The first parameter of the Launch call is a unique integer identifier for each action.
JScript
Action.Launch("50","C:\calco.exe","");
VBScript
Action.Launch "51","C:\calco.exe",""
LaunchAsSystem
JScript
Action.LaunchAsSystem("C:\calco.exe"," sParameters ", "sWorkingDir",true);
VBScript
Action.LaunchAsSystem "C:\calco.exe"," sParameters"," sWorkingDir",true
LaunchAsUserWithCode
This launches in the user context and returns the exit code of the application launched.
JScript
Action.LaunchAsUserWithCode(appToLaunch, "sParameters", "sWorkingDir", bShow, bWait,
nExitCode);
VBScript
Action.LaunchAsUserWithCode appToLaunch, "sParameters", "sWorkingDir", bShow, bWait,
nExitCode