qwee Posted May 28, 2009 Share Posted May 28, 2009 Hey! Creating a bot, just got the IE frame to work prefectly. Now I only need a way to get coordinates to different things. The bot NEED to work in all resolutions, so I need to get coordinates on the current active window! (1.0 will NOT support minimized) I've looked in the Help file, but couldn't find any way to get the coords. Thanks in advance! Link to comment Share on other sites More sharing options...
oMBRa Posted May 28, 2009 Share Posted May 28, 2009 WinGetPos('[ACTIVE]'), gets the pos of the current active window Link to comment Share on other sites More sharing options...
qwee Posted May 28, 2009 Author Share Posted May 28, 2009 (edited) WinGetPos('[ACTIVE]'), gets the pos of the current active window Don't need the pos of the active window. Read what I need... Need to gets the coords where the X are Edited May 28, 2009 by qwee Link to comment Share on other sites More sharing options...
oMBRa Posted May 28, 2009 Share Posted May 28, 2009 (edited) Now I only need a way to get coordinates to different things''things'' is a bit generic, dont you think?EDIT: I see now you edited your post, ControlGetPos should help you.Use Autoit info tool to get window informations, such controls ecc Edited May 28, 2009 by oMBRa Link to comment Share on other sites More sharing options...
qwee Posted May 28, 2009 Author Share Posted May 28, 2009 ''things'' is a bit generic, dont you think?EDIT: I see now you edited your post, ControlGetPos should help you.Use Autoit info tool to get window informations, such controls eccAutoit info tool? Sorry, but I'm new to this language... Link to comment Share on other sites More sharing options...
oMBRa Posted May 28, 2009 Share Posted May 28, 2009 ControlGetPos('GuiTitleHere', '', '[Class:Internet Explorer_Server]') return the pos of the control relative of the client area Link to comment Share on other sites More sharing options...
qwee Posted May 29, 2009 Author Share Posted May 29, 2009 I've fixed it. Thread can be locked 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