expression.DisableScreenHistory As Boolean
Property Value
The default value is True.
expression.DisableScreenHistory As Boolean
The default value is True.
Screen history and keystroke productivity features (Spell Check, Recent Typing, Auto Complete, and Auto Expand) are automatically disabled while a macro is running. (Running macros with these features enabled can significantly impact performance.)
This property is always set to True when a macro starts. To enable Screen History while a macro is running, set this property and the DisableKeystrokeProductivity Property to False in the macro code. When both of these properties are False, Screen History is enabled during the macro's execution.
To disable screen history for an entire session, set the ManualCaptureOnly property on the ScreenHistory object or select the "Manual capture only" opton in the user interface (in the Configure Screen history settings dialog box).