A SERVICE OF

logo

ZENworks® ESM 3.5 Administrator’s Manual 160
Action.Message "Display sync message"
Synchronous Message (displayed and waits for user respond before the script continues):
Note:
nTimeoutSeconds values of -1 or 0 will NEVER timeout
nMessageType (buttons shown):
1. Ok/Cancel
2. Abort/Retry/Ignore
3. Yes/No/Cancel
Currently, the return value which of these buttons pressed by the user is NOT returned, so it is
NOT helpful for conditional logic control.
JScript
Action.Message("Message Title Bar", nMessageType, nTimeoutSeconds);
VBScript
Action.Message "Message Title Bar", nMessageType, nTimeoutSeconds
PauseService
JScript
Action.PauseService("lanmanworkstation");
VBScript
Action.PauseService "lanmanworkstation"
Details:
Make sure you use the actual service name, not the display name.
Prompt
This API creates dialog boxes and user interfaces. It will be covered in a future revision given the
complexity and need for examples.