Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / ConnectingSettingsBestNetwork Object / ConnectMacro Property
In This Topic
    ConnectMacro Property (ConnectingSettingsBestNetwork)
    In This Topic
    Gets or specifies the name of a macro that is run automatically after a connection is established. You can use the ConnectMacroData property to specify information to be passed to this macro.
    Syntax
    expression.ConnectMacro As String
    where expression is a variable that represents a ConnectingSettingsBestNetwork Object
    Exceptions
    ExceptionDescription
    This exception is thrown if the set parameter is longer than the maximum allowed.
    Remarks
    The connect macro runs after the terminal has successfully made a connection to the host. These macros should not include session setup information.

    The default value is "". This string can be up to 260 characters long. This value can be changed during an open connection.

    See Also