WorkMan Client Script

From WorkManSoft Wiki
Jump to navigationJump to search

About

Products supported:

  • WorkMan Agent 3

Scripttypes supported as of 6th of july 2012:

Usage

ScriptDataDM

This object holds properties that can be used by the clientscript.

ScriptDataDM.ScriptEvent

This shows what event triggered the script. It can be one of these:

  • TEST - Test by application
  • INCOMINGRING
  • INCOMINGANSWERED
  • INCOMINGIDLE
  • OUTGOINGRING
  • OUTGOINGANSWERED
  • OUTGOINGBUSY
  • OUTGOINGIDLE
  • APPSTART - On startup of application (future release)
  • APPCLOSE - On close of application (future release)

Constants

Windowstate

 SW_HIDE = 0;
 SW_SHOWNORMAL = 1;
 SW_NORMAL = 1;
 SW_SHOWMINIMIZED = 2;
 SW_SHOWMAXIMIZED = 3;
 SW_MAXIMIZE = 3;
 SW_SHOWNOACTIVATE = 4;
 SW_SHOW = 5;
 SW_MINIMIZE = 6;
 SW_SHOWMINNOACTIVE = 7;
 SW_SHOWNA = 8;
 SW_RESTORE = 9;
 SW_SHOWDEFAULT = 10;
 SW_MAX = 10;