See if these functions will work for you! :)
Declare Function RemoveLineArray(strArray() As String,LineRemove As Integer)
Declare Function AddLineArray(strArray() As String)
Sub Main
Dim i As Integer
Dim strArray1() As String
ReDim strArray1(10) As String
For i = 0 to 10
strArray1(i) =...
What about something like this in your code, assumiung that the program is in an endless loop
StopMacro = MyScreen.WaitForKeys(5000, "S")
If StopMacro = "S" then Stop
Now you should be able to just press the S key to stop the Macro from running any longer
Is there a way to wait for more then one possible text string coming across the screen and not have it time out when only one of the strings come across and not the others?
Example
MySess.waitforstring ("TEST:"),("TERM")
Waiting for either TEST or TERM
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.