forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Ctrl+Click

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
marcelo
Contributor
Contributor


Joined: 10 May 2008
Posts: 98

PostPosted: Fri Nov 16, 2018 3:31 pm    Post subject: Ctrl+Click Reply with quote

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... Sad
Any help on this using VDS 5?

Thanks a lot

Marcelo
Back to top
View user's profile Send private message
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 407
Location: Australia

PostPosted: Mon Jan 28, 2019 5:45 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
marcelo
Contributor
Contributor


Joined: 10 May 2008
Posts: 98

PostPosted: Fri Feb 01, 2019 1:51 pm    Post subject: Reply with quote

Thanks a lot!!!! I will try it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group