Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / ConnectionSettingsRLogin Object / ConnectMacroData Property
In This Topic
    ConnectMacroData Property (ConnectionSettingsRLogin)
    In This Topic
    Gets or specifies a string that passes information to a connect macro. When your connect macro runs, the value of MacroData is set equal to the value of ConnectMacroData.
    Syntax
    expression.ConnectMacroData As String
    where expression is a variable that represents a ConnectionSettingsRLogin Object
    Exceptions
    ExceptionDescription
    This exception is thrown if the set parameter is longer than the maximum allowed.
    Remarks
    The value of the MacroData property changes whenever you pass macro data to a macro. (If you run a macro using the Macros dialog box, macro data is specified in the Macro data box. If you run a macro using the RunMacro method, macro data is specified with the second argument.) The ConnectMacroData property stores a fixed value that sets the value of MacroData whenever your connect macro runs.

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

    See Also