InfoConnect for Unisys
IMacro Interface Members
Properties  Methods  Events

The following tables list the members exposed by IMacro.

Public Properties
 NameDescription
 PropertyDataGets or specifies a string variable that can be used as data during macro execution.  
 PropertyParentGets the parent object. This is the IIbmTerminal object.  
 PropertyRecordingReturns whether the macro recorder is currently recording.  
 PropertyRecordingPausedReturns 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.  
 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
 EventMacroCompletedRaised when a Reflection macro has completed. This does not apply to legacy Reflection macros or legacy EXTRA! macros.  
 EventMacroStartedRaised when a Reflection macro has started. This does not apply to legacy Reflection macros or legacy EXTRA! macros.  
Top
See Also