View previous topic :: View next topic |
Author |
Message |
marcelo Contributor
Joined: 10 May 2008 Posts: 140
|
Posted: Fri Nov 16, 2018 3:31 pm Post subject: Ctrl+Click |
|
|
Hi, I need to send "Ctrl+LClick" to the center (aprox) of a program window.
Is there a way to do that?
I can send CTRL using "window send,myWindow,@ctrl()" and i can send the CLICK using "window click,myWindow,100,100" but i dont know how to send the combination of both...
Any help on this using VDS 5?
Thanks a lot
Marcelo |
|
Back to top |
|
|
DaveR Valued Contributor
Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Mon Jan 28, 2019 5:45 am Post subject: |
|
|
A left-click is the same as pressing Enter on a keyboard. The VDS help file says if you want to send the Enter key use @CR()
So try: "window send,myWindow,@ctrl()@cr()"
EDIT: I accidentally wrote "right-click" instead of left-click, but it sounds like you knew what I meant. _________________ cheers
Dave
Last edited by DaveR on Sun Feb 03, 2019 2:54 am; edited 1 time in total |
|
Back to top |
|
|
marcelo Contributor
Joined: 10 May 2008 Posts: 140
|
Posted: Fri Feb 01, 2019 1:51 pm Post subject: |
|
|
Thanks a lot!!!! I will try it. |
|
Back to top |
|
|
|