Sign in to follow this  
Followers 0
qwee

Get Coords for bot

7 posts in this topic

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!

Share this post


Link to post
Share on other sites



WinGetPos('[ACTIVE]'), gets the pos of the current active window

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

WinGetPos('[ACTIVE]'), gets the pos of the current active window

Don't need the pos of the active window. Read what I need...

Posted Image

Need to gets the coords where the X are

Edited by qwee

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 by oMBRa

Share this post


Link to post
Share on other sites

''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

Autoit info tool? Sorry, but I'm new to this language...

Share this post


Link to post
Share on other sites

ControlGetPos('GuiTitleHere', '', '[Class:Internet Explorer_Server]')
return the pos of the control relative of the client area

Share this post


Link to post
Share on other sites

I've fixed it. Thread can be locked

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0