InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / ConnectionSettingsComSerialPort Object / ConnectMacro Property
ConnectMacro Property (ConnectionSettingsComSerialPort)
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 ConnectionSettingsComSerialPort Object
Exceptions
ExceptionDescription
This exception is thrown if the set parameter is longer than the maximum allowed.
Remarks
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