Sign in to follow this  
Followers 0
Azu

Ctrl left clicking?

5 posts in this topic

I'm sorry if this is already answered somewhere but I looked for a long time and couldn't find what I'm looking for..

I'm trying to ctrl left click using autoit but it isn't working, it's just normal left clicking..

ControlSend("Something","","","{CTRLDOWN}")
Sleep(Random(50, 100, 1))
MouseClick("left", 100, 100, 1, $MouseSpeed)
Sleep(Random(50, 100, 1))
ControlSend("Something","","","{CTRLUP}")

Any idea what's wrong with my code?

Share this post


Link to post
Share on other sites



ControlSend ( "title", "text", controlID, "string" [, flag] )

Where is your controlID?

Share this post


Link to post
Share on other sites

Thanks Manadar, it works perfectly now! And Briegel.. I don't know what a controlID is, sorry. :S

Share this post


Link to post
Share on other sites

You're welcome.

A Control ID is a number designated to a certain control (Look in the helpfile for what controls are), this allows you and the author of the program to interact with that certain control.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0