I tried the loop. I tried setting the screen as an object several different ways. I have attached a screen shot of the object browser showing how I got the Reflection2.Session.WaitForString - It came direct from the object browser. This is an enterprise environment and I have never tried to...
The issue is not the Reflection2.Session.WaitForString(" ...OK? Yes// ", NEVER_TIME_OUT, rcAllowKeystrokes)it is the If...Then...End If. It seems as if it is ignored? Or could it be because it is running in Reflection?
Reflection for UNIX and OpenVMS is a connectivity software application. Reflection establishes and maintains communications between a host computer and your PC running Microsoft Windows XP, Windows 2000 Server or Workstation, or Windows Server 2003. With Reflection, your PC emulates, or operates...
Maybe I'm completely out in left field? I don't have any problem with the array, it runs like a champ. The problem is the conditional statement. It is either completely ignored as if it isn't there at all. Or runs as if it isn't conditional. Might as well not have the If...Then....End If at...
I am using Reflection. According to the help and everything else I have read the syntax is correct, I'm missing something else?
It waits for the string of text. I can move the end of the Loop (Next) above the second if statement and the Macro runs with out a hitch unless the string ...OK...
The second If Statement is completely ignored when this runs in refection. I have tried it several different ways. I want to keep the code as simple as possible because it will be modified in the future by end users.
Sub Test()
On Error GoTo ErrorHandler
Const NEVER_TIME_OUT = 0...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.