SteeLpwnage Posted May 20, 2010 Posted May 20, 2010 hey I need help how do you set a window of a program as 0,0 coordinate
JohnOne Posted May 20, 2010 Posted May 20, 2010 (edited) wingetpos() Alternatively you can use the opition MouseCoordMode PixelCoordMode depending on your requirements. Edited May 20, 2010 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
JohnOne Posted May 20, 2010 Posted May 20, 2010 In the case of coordmode its done for you. Any subsequent coords regards the active/hwnd window as 0,0 . 0 + 200 = 200 pixels from the corner of the window defined. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
SteeLpwnage Posted May 20, 2010 Author Posted May 20, 2010 (edited) nvm Edited May 20, 2010 by SteeLpwnage
JohnOne Posted May 20, 2010 Posted May 20, 2010 WinGetPosIt returns an array[0] is the x coord of the left (leftmost)[1] is the y coord of the top (topmost)(the top left corner) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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