
ZENworks® ESM 3.5 Administrator’s Manual 157
Note
The first parameter of the DisplayMessage call is a unique integer identifier for each action.
When calling the Message by name, the name specified MUST EXACTLY match the DisplayMessage
specified in the policy.
JScript
Action.DisplayMessage("40","Message40", "Message Here", "question", "");
Action.Sleep(10000);
Action.DisplayMessageByName("Message40");
VBScript
Action.DisplayMessage "40","Message40", "Message Here", "question", ""
Action.Sleep(10000)
Action.DisplayMessageByName "Message40"
Details:
This script will create a Message Box with all parameters and then wait 10 seconds, (during which the
tester should click Ok to end box display) and then it will be displayed by the ID and wait 10 seconds,
(again, the tester should click Ok to end box display) and then it will display the Message Box by
EnableAdapterType
JScript
Action.EnableAdapterType(false, eWIRELESS);
Action.EnableAdapterType(true, eWIRELESS);
Action.EnableAdapterType(false, eWIRED);
Action.EnableAdapterType(true, eWIRED);
Action.EnableAdapterType(false, eDIALUPCONN);
Action.EnableAdapterType(true, eDIALUPCONN);
VBScript
Action.EnableAdapterType false, eWIRELESS
Action.EnableAdapterType true, eWIRELESS
Action.EnableAdapterType false, eWIRED