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

 All Forums
 General Discussion
 General Discussion
 Right Click and send "k" key
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rootstock

21 Posts

Posted - 04/03/2017 :  20:39:05  Show Profile  Reply with Quote
acMouseClick(gsx,gsy,0,1,1)
acDelay(100)
acSendKeys("k")
acDelay(100)
acMouseMove(gex,gey)

hi, guys, a very simple action but did not work, please help, thanks in advance. :)

righ click and send "k" key but didnot work

one add question, the last script which i tried to control the mouse cursor stay where it began but did not work neither. anything wrong in it ?

Edited by - rootstock on 04/03/2017 20:40:42

Rob

USA
2432 Posts

Posted - 04/04/2017 :  05:50:56  Show Profile  Visit Rob's Homepage  Reply with Quote
I tested this in Explorer and it worked fine. In what program are you trying to do this?

Also, if you want the mouse back to where the gesture began, use gsx and gsy (gs = gesture start position, ge = gesture end position):

acMouseMove(gsx,gsy)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2017 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000