Jump to content
Sign in to follow this  
qwee

Get Coords for bot

Recommended Posts

qwee

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
oMBRa

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

Share this post


Link to post
Share on other sites
qwee

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
oMBRa

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
qwee

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

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
qwee

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  

×