Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Screen Object / SendKeys2 Method
The text string to send.
The SendKeysOption value text string interpretation options.
In This Topic
    SendKeys2 Method
    In This Topic
    Sends a text string to the host.
    Syntax
    expression.SendKeys2( _
       ByVal text As String, _
       ByVal option As SendKeysOption _
    ) As ReturnCode
    where expression is a variable that represents a Screen Object

    Parameters

    text
    The text string to send.
    option
    The SendKeysOption value text string interpretation options.

    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