Using the Open Windows tool I can search for a specific piece of text inside a window. Is it possible to replicate that inside a MS script? Let's say I want to see if that bit of text is anywhere on the screen. How would I search through all open windows to find it? I'd like to find "This loan is locked", or not find it.
The next step would be to actually capture that whole text piece if possible, but just knowing it is there is valuable.
Finding text within any window
Moderators: Dorian (MJT support), JRL
Re: Finding text within any window
Does the text show up anywhere in the result if you run the code posted HERE? If yes then I can probably write a sample script to get the data you need.
Re: Finding text within any window
Of course, just after I posted that question I found the FindWindowWithText SRT. I'll try out your script though!