InfoConnect for Unisys VBA Guide
ConnectMacro Property (IbmTerminal)
Gets or sets the name of a macro that runs automatically after a connection is established.
Syntax
Object.ConnectMacro As String
Exceptions
ExceptionDescription
System.ArgumentException This exception is thrown if the set parameter is longer than the maximum allowed.
Attachmate.Reflection.SecuredSettingException This exception is thrown when you modify a property that was secured via the Permissions Manager, or that can only be modified by an Administrator.
Remarks
You can use the ConnectMacroData property to specify information to be passed to this macro. The default value is "". The string can be up to 260 characters in length.

Connect macros run after the terminal has successfully made a connection to the host. They should not include session setup information.

You can also use the Configure Advanced Connection Settings dialog box or Reflection's event commands to run a macro after a connection is made. Using events is a more powerful, flexible strategy.

See Also

 

 


2015 Attachmate

Send Feedback