Jump to content

Retrieve text position


Recommended Posts

I am trying to find the location of text/controls so that I can reference them later. I am trying to interact with a program (that I did not design) that has multiple instances of the same control ID so control ID 3718 might appear 5 times on the screen but I would like to arrange them into an array so that I can sort them by x and y position that way I know which is which (since they share both control ID and text). I have tried doing this using both the controlgetpos and controlclick command but I could not figure out how to reference these controls and seperatly (it only logs the first one).

Any suggestions?

Thanks

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...