wambimbo Posted March 22, 2012 Share Posted March 22, 2012 I have been looking around with a friend of mine. We got AutoIt working but there is one little annoying part. Fot it to work in the program we using we need to place the window of that program on a specific place on the desktop in order to make the mouse klick on the right buttons. I have seen AutoIt work in that same program, but i was not needed to place it on a specific place on the desktop. It was klicking the right buttons like it was searching for the right coordinates within the program window. Anybody got any idea how i could get this working this way? I hope i formulated my problem in an understandable way, english is not my native language. Link to comment Share on other sites More sharing options...
Rutger83 Posted March 22, 2012 Share Posted March 22, 2012 (edited) you could use WinGetPos() to get the window coordslocal $coords=WinGetPos("Window title") MouseClick("left",200+$coords[0],300+$coords[1]) Edited March 22, 2012 by Rutger83 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