SteeLpwnage Posted May 20, 2010 Share Posted May 20, 2010 hey I need help how do you set a window of a program as 0,0 coordinate Link to comment Share on other sites More sharing options...
JohnOne Posted May 20, 2010 Share 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. Link to comment Share on other sites More sharing options...
SteeLpwnage Posted May 20, 2010 Author Share Posted May 20, 2010 but how do I sat that coordinate to 0,0 Link to comment Share on other sites More sharing options...
JohnOne Posted May 20, 2010 Share 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. Link to comment Share on other sites More sharing options...
SteeLpwnage Posted May 20, 2010 Author Share Posted May 20, 2010 (edited) nvm Edited May 20, 2010 by SteeLpwnage Link to comment Share on other sites More sharing options...
JohnOne Posted May 20, 2010 Share 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. Link to comment Share on other sites More sharing options...
403forbidden Posted May 20, 2010 Share Posted May 20, 2010 Use the WinMove function. 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