StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Lua Scripts
 General Action Scripts
 Is there Right Click button of keyboard simulation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gopikrish2000

34 Posts

Posted - 11/09/2013 :  05:43:33  Show Profile  Reply with Quote
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
2573 Posts

Posted - 11/09/2013 :  05:46:48  Show Profile  Visit Rob's Homepage  Reply with Quote
Most often, Shift+F10 will invoke the context menu (right-click menu)
Go to Top of Page

gopikrish2000

34 Posts

Posted - 11/09/2013 :  05:51:02  Show Profile  Reply with Quote
Yes , Shift + F10 working fine , thanks,
Go to Top of Page

Rob

USA
2573 Posts

Posted - 11/09/2013 :  11:51:10  Show Profile  Visit Rob's Homepage  Reply with Quote
Oh yea, acSendKeys("{APPS}") sends the context menu command as well, where Shift+F10 may not work.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000