d0n Posted March 24, 2010 Share Posted March 24, 2010 I am looking for a way to capture text from a window When i hover over it with my mouse the mouse turns into the "I" shape which tells me there is text there, i was wondering if there is any commands to read something like this? There is no gui control that i can read Link to comment Share on other sites More sharing options...
Fulano Posted March 24, 2010 Share Posted March 24, 2010 WinGetText() #fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja! Link to comment Share on other sites More sharing options...
d0n Posted March 24, 2010 Author Share Posted March 24, 2010 but there is no visible text or hidden text using the Autoit window info tool, so WinGetText didn't work Link to comment Share on other sites More sharing options...
Fulano Posted March 25, 2010 Share Posted March 25, 2010 Ahhh, that does present a problem. Is is a Command Prompt window by any chance? #fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja! Link to comment Share on other sites More sharing options...
NiteOwls Posted April 8, 2010 Share Posted April 8, 2010 I actually ran into the same issue, and my window is a popup window from Microsoft CRM called "Phone Call: New" plenty of fields with information to grab, but when you select it with the Window Info tool it only selects the main screen and not the controls and field on the screen itself, what is pretty useless. Any ideas? Regards, ~ NiteOwls 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