Azu Posted July 20, 2006 Posted July 20, 2006 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?
jvanegmond Posted July 20, 2006 Posted July 20, 2006 You can't controlsend a ctrldown. Use a normal send command. github.com/jvanegmond
Briegel Posted July 20, 2006 Posted July 20, 2006 ControlSend ( "title", "text", controlID, "string" [, flag] ) Where is your controlID?
Azu Posted July 20, 2006 Author Posted July 20, 2006 Thanks Manadar, it works perfectly now! And Briegel.. I don't know what a controlID is, sorry. :S
jvanegmond Posted July 20, 2006 Posted July 20, 2006 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. github.com/jvanegmond
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now