Run Client Monitor from Code

JPHSCJPHSC Member Posts: 67
Is it possible to run the client monitor in the background and turning it on and off in C\AL ???

Comments

  • garakgarak Member Posts: 3,263
    not with defaul C/AL but with C/AL and WSH.
    Search for WSH.Sendkey.

    Regards
    Do you make it right, it works too!
  • JPHSCJPHSC Member Posts: 67
    i already tought so, is there a shortcut key for the client monitor, i don't think so ...
  • garakgarak Member Posts: 3,263
    but you can send ALT + T than M and finaly Enter
    Do you make it right, it works too!
  • JPHSCJPHSC Member Posts: 67
    I got it up and running in English and french .. but in dutch it keeps giving errors ...

    CASE GLOBALLANGUAGE OF
    1033 : BEGIN // English(US)
    wshShell.SendKeys('%{T}');
    wshShell.SendKeys('m');
    //wshShell.SendKeys('ENTER');
    END;

    2067 : BEGIN // Nederlands(België)
    wshShell.SendKeys('%x');
    wshShell.SendKeys('m');
    wshShell.SendKeys('m');
    wshShell.SendKeys('ENTER');
    END;

    2060 : BEGIN // Francais (Belgique)
    wshShell.SendKeys('%{u}');
    wshShell.SendKeys('i');
    wshShell.SendKeys('ENTER');
    END;

    Does anybody knows a way to acces client monitor functionality in code in any way ?
    Not visible, i get the values from the monitor table ...
Sign In or Register to comment.