If InStr(Window("(A) PowerTerm InterConnect32 - Window").CaptureText, "Some Message") > 0 Then

I'm running through a list of files. To Make sure I'm on the correct screen in a PowerTerm windows I use the command above. Its a Round about way to make sure the file I'm working with is on the screen.

I never had a problem when I did something like this with a Putty Termal Window. But for some reason sometimes with the powerterm window, it won't actually capture any text, or only capture the first couple of lines.

To try to fix this problem I started to pass in Points to the CaptureText. This still does not fix the problem.

So about once out of ever eight times this fails to capture the text. I move the yellow pointer back up and it works.

Any idea how to get this to capture text?