Menu

Sending Ctrl + W from the iRule program

Help
2012-04-21
2013-01-01
  • Michael Gregorakos

    Hi,
    I tried the following 4  combinations to send Ctrl + W from iRule program and none of them worked could you show me where I went wrong and send the string that I could copy and paste. (see below)

    Three of the attempts were sent as 1 Device Code the first shown below was sent as 2 device codes

    I don’t need to enter it into MCE Controller because if I hit Ctrl W from my wireless keyboard it launches the internet short cut perfectly.

    (Ctrl)\x0D New Command w\x0D            2 Separate Entries
    (Ctrl)\x0D(W)\x0D                                          1 Entry
    (Ctrl)\x0D+(W)\x0D                                        1 Entry
    (Ctrl)\x0D(+)(W)\x0D                                     1 Entry

    Any input would be much appreciated.

     
  • Charlie Kindel

    Charlie Kindel - 2012-05-02

    The virtual keycode for 'D' is 0x44 or 68.

    There already exists a command for Ctrl-D in MCEControl.commands:

    <SendInput Cmd="moreinfo" vk="68" Shift="false" Ctrl="true" Alt="false" />
    

    you can either simply send the

    moreinfo
    

    command or you can modify MCEControl.commands to have your own command that does the same thing, e.g.:

    <SendInput Cmd="ctrl-d" vk="68" Shift="false" Ctrl="true" Alt="false" />
    

    Hope this helps

     

Log in to post a comment.

MongoDB Logo MongoDB