Forum Discussion
Ryan_Moran
10 years agoValued Contributor
One possible solution would be to check the process' CPUUsage property until it has been idle for a period of time.
joseph_michaud
Staff
10 years agoPerhaps you could examine the text of the window in a loop looking for what you want....
- jyothinb10 years agoContributor
My question is, how to write a code to look for that last line in the screen shot. TC is not recognizing the text.
- joseph_michaud10 years ago
Staff
Examine your app with the Object Browser. I was using a CMD shell to look at the wText property as an example but your application may be different. Once you've found the appropriate property, in a loop refresh() and then do some processing on the text.
As a start, try just printing out the appropriate property. Then do it in a refresh() loop. Then start checking the value for your trigger.