InfoConnect for Unisys
IMacro Interface Members
Properties  Methods  Events

The following tables list the members exposed by IMacro.

Public Properties
 NameDescription
 PropertyDataGets or sets a string variable that can be used as data during macro execution.  
 PropertyParentGets the parent object. This is the IIbmTerminal object.  
 PropertyRecordingGets a value indicating whether the macro recorder is currently recording.  
 PropertyRecordingPausedGets a value indicating whether the macro recorder is currently paused.  
 PropertyScriptGets the current macro recording script, if any. Returns String.Empty if no script is currently recording.  
Top
Public Methods
 NameDescription
 MethodGetMacroNamesGets a list of existing macro names.  
 MethodPasswordBoxOpens a dialog box containing a prompt and a text box for user input, and returns the contents of the text box after the user clicks OK. The text entered into the text box appears as asterisks on the screen.  
 MethodPauseRecordingPauses macro recording in the current terminal session.  
 MethodResumeRecordingResumes recording a macro in the current terminal session.  
 MethodRunExpressMacroRuns an Express macro.  
 MethodRunExternalLegacyReflectionMacroRuns a legacy Reflection macro from an external file (that is, a file that is not in current use).  
 MethodRunHostExplorerMacroRuns a HostExplorer macro.  
 MethodRunLegacyExtraMacroRuns a legacy EXTRA! macro.  
 MethodRunLegacyReflectionMacroRuns a legacy Reflection macro.  
 MethodRunLegacyReflectionMacroFileRuns the legacy Reflection macro that is in the specified macro file.  
 MethodRunMacroOverloaded. Runs a macro.  
 MethodRunPcommMacroRuns an IBM Personal Communications macro.  
 MethodRunQwsMacroRuns a QWS macro.  
 MethodRunRumbaMacroRuns a Micro Focus Rumba macro.  
 MethodShowMacroDialogDisplays the Run Macro dialog box.  
 MethodStartMacroRecordingStarts recording a macro in the current terminal session.  
 MethodStopMacroStops a currently running macro.  
 MethodStopMacroRecordingStops the macro recorder in the current terminal session, and saves the macro.  
Top
Public Events
 NameDescription
 EventExpressMacroCompletedOccurs when an Express macro has completed.  
 EventExpressMacroStartedOccurs when an Express macro has started.  
 EventMacroCompletedOccurs when a macro has completed. This does not apply to legacy Reflection macros, legacy EXTRA! macros, or Express Macros  
 EventMacroStartedOccurs when a macro has started. This does not apply to legacy Reflection macros, legacy EXTRA! macros, or Express Macros  
Top
See Also