InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / ConnectionSettingsSecureShell Object / ConnectMacro Property
ConnectMacro Property (ConnectionSettingsSecureShell)
Gets or specifies the name of a macro that runs 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 ConnectionSettingsSecureShell 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