Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Screen Object / WaitForStrings2 Method
Array that specifies one or more strings for which to wait.
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
In This Topic
    WaitForStrings2 Method
    In This Topic
    Waits for one of the specified text strings to be received from the host.
    Syntax
    expression.WaitForStrings2( _
       ByRef text As String(), _
       ByVal timeout As Integer _
    ) As ReturnCode
    where expression is a variable that represents a Screen Object

    Parameters

    text
    Array that specifies one or more strings for which to wait.
    timeout
    wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.

    Return Value

    One of the following ReturnCode enumeration values.

    Member Description
    Cancelled Cancelled.
    Error Error.
    PermissionRequired Permission is required.
    Success Success.
    Timeout Timeout condition.
    Truncated The text is truncated.

    See Also