99Cent Posted March 24, 2006 Posted March 24, 2006 I need to be able to read text from a program called ADPHere is a screen shotWindow Info does not detect any text and if I try to If Winactive("ADP AUTO1", "Part" ) thenIt doesnt see the text "Part" or any other text that I try.Window Info says it is a r2Window and a r2Display and it doesnt show any visible or hidden text.How I get through this right now is by usingMouseClickDrag ( "left", 567,516, 10, 292 ,)and Copy and Paste to notepad and read from there.Is there a way to read the text from the ADP window?Here is a screen shot
Moderators big_daddy Posted March 24, 2006 Moderators Posted March 24, 2006 Try this and see what you get: $text = ControlGetText("ADP AUTO1", "", "r2Display1") MsgBox(0, "", $text)
99Cent Posted March 27, 2006 Author Posted March 27, 2006 $text = ControlGetText("ADP AUTO1", "", "r2Display1")MsgBox(0, "", $text)Still gets back nothing Guess I am stuck with my Copy and Paste to notepad using MouseClickDrag method.
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