Author |
Topic |
|
gopikrish2000
34 Posts |
Posted - 11/09/2013 : 05:43:33
|
There is a Right Click button on my Laptop (upon clicking will do right click on focussed element) , is there a key to simulate it (like {RIGHT_CLICK_BUTTON} . I know lot of functions of mouseMove,Click etc are there but for all those i need to give X,Y coordinate .
Here i have focus on element in page ( using keyboard tab etc ) but mouse is in a different location ( bcoz i focussed using keyboard ) now i want to do simulate Right Click Button of laptop [ Bcoz if using mouse i need to move to that focused element and then only i need to click ] . So is there a way to do that [ Note : the element can be nested so inside , as mouse is in different position mouseClick for gsx,gsy also wont work] |
Edited by - gopikrish2000 on 11/09/2013 05:47:14 |
|
Rob
USA
2615 Posts |
Posted - 11/09/2013 : 05:46:48
|
Most often, Shift+F10 will invoke the context menu (right-click menu) |
|
|
gopikrish2000
34 Posts |
Posted - 11/09/2013 : 05:51:02
|
Yes , Shift + F10 working fine , thanks, |
|
|
Rob
USA
2615 Posts |
Posted - 11/09/2013 : 11:51:10
|
Oh yea, acSendKeys("{APPS}") sends the context menu command as well, where Shift+F10 may not work. |
|
|
|
Topic |
|
|
|