Ranorex

ControlSendKeys - Windows & Menu Keys

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexPython
View previous topic :: View next topic  
Author Message
James Hirst



Joined: 06 Dec 2006
Posts: 21
Location: UK

PostPosted: Thu Dec 07, 2006 3:42 pm    Post subject: ControlSendKeys - Windows & Menu Keys
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?

Thanks,
James
Very Happy
Back to top
View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Thu Dec 07, 2006 11:06 pm    Post subject:
You can send the windows keystrokes in Ranorex the same way, like in the Python SendKeys modul:

Code: click into code to enlarge
   # 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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexPython All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum