Jump to content

Recommended Posts

Posted

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

Posted

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

  • 9 years later...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...