Menu

Sending Combinations of MCE Commands

Help
2012-05-09
2013-01-01
  • Michael Gregorakos

    Sending Combinations of MCE Commands
    Hi,
    I need some input on how to modify MCE Controller Command File and proper way to send Ctrl W & Ctrl F4.
    Below are the modifications I made to the MCC controller Commands and what I sent with the response
    Any help would be appreciated everything else about MCE Controller is working Great.
    Added Commands:
    <SendInput Cmd="ctrl-w" vk="11" Shift="false" Ctrl="true" Alt="false" />
    <SendInput Cmd="ctrl-F4" vk="11" Shift="false" Ctrl="true" Alt="false" />
    <SendInput Cmd="w" vk="57" Shift="false" Ctrl="false" Alt="false" />
    <SendInput Cmd="ctrl" vk="11" Shift="false" Ctrl="true" Alt="false" />
    Response when received:
    Command received: ctrl-w
    Sending keystroke: Ctrl-

    Command received: ctrl-w
    Sending keystroke: Ctrl-

    Command received: ctrl-F4
    Sending keystroke: Ctrl-

    Command received: ctrl-F4
    Michael G

     
  • Charlie Kindel

    Charlie Kindel - 2012-05-09

    First, to close a window in Windows you use Alt-F4, not Ctrl-F4.

    Second, not sure how you got a vk of 11 for F4.  The VK for F4 is 115.

    Lastly, there is already a command in the default MCEControl.commands, "close":

    <SendInput Cmd="close" vk="115" Shift="false" Ctrl="false" Alt="true" />
    

    You should be able to just send

    close
    

    to MCE Controller to have it close the current foreground window.

     
  • Michael Gregorakos

    Charlie,
    Thank You, using close was the ticket its now working 100%. And from your example of text, if I needed to send combinations, I could do it as long as I know "VK" assignment.

    Thanks Again,

    Michael G.

     

Log in to post a comment.

MongoDB Logo MongoDB