KDoc Posted May 17, 2019 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
Exit Posted May 17, 2019 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()
KDoc Posted May 17, 2019 Author Posted May 17, 2019 I appreciate the reply but am I able to use these functions programatically within the Autoit code?
Exit Posted May 17, 2019 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()
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