Moderators SmOke_N Posted March 20, 2005 Moderators Share Posted March 20, 2005 Hey all, I have a script that works w/ mouseclick fine ( a bit tedious in the speed no matter what i set it to). I really like the ControlClick option, unfortuanately the positions that I need to click do not have a Control ID, ClassNN, or Text that is visible in AutoInfo . So, is there a way to set a variable with the x and y cooridnates and use the ControlClick option this way? $Button = "what would i put here if anything?" ControlClick("windowname", "", $Button,) Just Curious Thanks Ron Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
MHz Posted March 20, 2005 Share Posted March 20, 2005 Control* functions, work with Controls. ControlClick cannot do x,y co-ordinates. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 20, 2005 Author Moderators Share Posted March 20, 2005 Well there you go then, just color me an idiot. Thx MHz, never know could be a loop around that someone came up with unless you ask. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
SlimShady Posted March 20, 2005 Share Posted March 20, 2005 (edited) Larry made a script that made this possible.Use the search function.I'll help you search.Edit:Here it ishttp://www.autoitscript.com/forum/index.php?showtopic=5627 Edited March 20, 2005 by SlimShady Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 20, 2005 Author Moderators Share Posted March 20, 2005 Very Nice indeed: I guess it's true that you never know till you ask. Thanks Slim/Larry! Thank you too MHz for the reply. Ron Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
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