Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / ConnectionSettingsComSerialPort Object / ConnectMacro Property
In This Topic
    ConnectMacro Property (ConnectionSettingsComSerialPort)
    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.
    expression.ConnectMacro As String
    where expression is a variable that represents a ConnectionSettingsComSerialPort Object
    This exception is thrown if the set parameter is longer than the maximum allowed.
    Connect macros run after the terminal has successfully made a connection to the host. They 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