ControlSendKeys - Windows & Menu Keys

Class library usage, coding and language questions.
James Hirst
Posts: 21
Joined: Wed Dec 06, 2006 6:24 pm
Location: UK

ControlSendKeys - Windows & Menu Keys

Post by James Hirst » Thu Dec 07, 2006 2:42 pm

Hi guys,

Just looking at the key options for the ControlSendKeys function - can we expect the Windows key & the Menu key to be added to the list of supported keys?


Site Admin
Site Admin
Posts: 350
Joined: Wed Jul 05, 2006 7:44 pm

Post by webops » Thu Dec 07, 2006 10:06 pm

You can send the windows keystrokes in Ranorex the same way, like in the Python SendKeys modul:

Code: Select all

   # Left windows key - {LWIN}
    Ranorex.ControlSendKeys(0, "{LWIN}");

    # Right windows key - {RWIN}
    Ranorex.ControlSendKeys(0, "{RWIN}");

    # Context menu Key - Shift + F10
    Ranorex.ControlSendKeys(0, "+{F10}");
Sorry for the missing documentation, we will extend it for the next release.

Jenö Herget
Ranorex Team