disc330 Posted April 29, 2008 Share Posted April 29, 2008 I have been attempting to click into a game window, but what i wish to click is behing a form, i have tried to use the window info finder to get the control ID, but it brings up an empty space. Im not sure how/if using control co-rds would work. If anyone could help out, it would be much appreicated. CODE HotKeySet("{END}","Terminate") While 1 While WinActive("Window1") ControlClick("Window1","",2234,"Left",1) ControlClick("Window1","", , "Left",1,70,5) ;<-- This is the line I am struggling with. WEnd WEnd Func Terminate() Exit EndFunc Still learning...I love autoit. :) Link to comment Share on other sites More sharing options...
Zedna Posted April 29, 2008 Share Posted April 29, 2008 ControlClick("Window1","", "", "Left",1,70,5) Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
disc330 Posted April 30, 2008 Author Share Posted April 30, 2008 Well, i tried that, but control click co-ords will not work because theres is a form in the way. I really need it to press the ID instead, =/ Still learning...I love autoit. :) Link to comment Share on other sites More sharing options...
Zedna Posted April 30, 2008 Share Posted April 30, 2008 ControlClick("Window1","", "") Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
newbprogammer Posted September 5, 2017 Share Posted September 5, 2017 On 4/30/2008 at 11:48 PM, Zedna said: ControlClick("Window1","", "") oh my god this f****** solved my problem thank you very much!!!!! 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