This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

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

 All Forums
 General Discussion
 General Discussion
 Right Click and send "k" key
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rootstock

21 Posts

Posted - 04/03/2017 :  20:39:05  Show Profile
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
2615 Posts

Posted - 04/04/2017 :  05:50:56  Show Profile  Visit Rob's Homepage
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  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000