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-
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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":
You should be able to just send
to MCE Controller to have it close the current foreground window.
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.