KDoc Posted May 17, 2019 Share Posted May 17, 2019 Hi, Is there any way to determine the X,Y coordinates (relative to the window) of a specific text phrase within a window using Auto-It? Thanks Link to comment Share on other sites More sharing options...
Exit Posted May 17, 2019 Share Posted May 17, 2019 (edited) yes AU3Info (Cntl+F6) is your friend UIASpy is your friend Edited May 17, 2019 by Exit App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
KDoc Posted May 17, 2019 Author Share Posted May 17, 2019 I appreciate the reply but am I able to use these functions programatically within the Autoit code? Link to comment Share on other sites More sharing options...
Exit Posted May 17, 2019 Share Posted May 17, 2019 (edited) In this case, UIASpy is a solution. You generate a script that first extracts the position of the window and then the position of the text. Then subtract the two values from each other. The script generator of UIASpy is excellently suited for this purpose. Edited May 17, 2019 by Exit App: Au3toCmd UDF: _SingleScript() 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