Jump to content
Sign in to follow this  
disc330

Controlclick No Control ID

Recommended Posts

disc330

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. :)

Share this post


Link to post
Share on other sites
disc330

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. :)

Share this post


Link to post
Share on other sites
newbprogammer
On 4/30/2008 at 11:48 PM, Zedna said:

 

ControlClick("Window1","", "")

 

oh my god this f****** solved my problem thank you very much!!!!!

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  

×