Jump to content

GetInstance postion

Recommended Posts

the point is to press "Call"
it is in

in instance 27

i try like this :

Local $hWnd = WinWait("[CLASS:WindowsForms10.Window.8.app.0.338574f_r13_ad127]", "", 10)

    Local $aPos = ControlGetPos($hWnd, "", "Call")

    MsgBox($MB_SYSTEMMODAL, "", "Position: " & $aPos[0] & ", " & $aPos[1] & @CRLF & "Size: " & $aPos[2] & ", " & $aPos[3])

but it does not give a good result
aPos = 0;
So how click on the button of whom we know only that it is located in 

and instances

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

    No registered users viewing this page.

  • Create New...