terramoto Posted August 4, 2007 Share Posted August 4, 2007 could someone explain me how to get the coords(left, top, right, bottom) from a window? thanks alot. Link to comment Share on other sites More sharing options...
ksmith247 Posted August 4, 2007 Share Posted August 4, 2007 could someone explain me how to get the coords(left, top, right, bottom) from a window? thanks alot.Try AutoIt Window Info. Support bacteria; it's the only culture most people have.LxP's Learning to Script with AutoIt 3 - Excellent starting placeVolly's Links Page - Links to cool and useful scriptsAutoIt Wrappers - Valuater's AutoIt Wrappers post. Lots of good stuff.Support AutoIt - Make a donation here; I did.[size="2"]#include <Guinness.pint>[/size] Link to comment Share on other sites More sharing options...
mikelee33 Posted August 4, 2007 Share Posted August 4, 2007 If you are referring to how to get coordinates for placement of buttons, etc. I have been using Ruler from http://www.sliver.com/dotnet/Ruler/It's free and works very well. Link to comment Share on other sites More sharing options...
Gif Posted August 4, 2007 Share Posted August 4, 2007 (edited) could someone explain me how to get the coords(left, top, right, bottom) from a window? thanks alot. use WinGetPos() , like this example: $SzPos = WinGetPos('My Computer') If @error Then Exit MsgBox(0, 'Wingetpos example', 'X Position : ' & $SzPos[0] & @CRLF & "Y Position : " & $SzPos[1] & @CRLF & "Width : " & $SzPos[2] & @CRLF & "Height: " & $SzPos[3]) Exit look at the help file for more informations Edited August 4, 2007 by Gif 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