please adwise how to temporarily disable the undo feature?
or at least clear the undo sequence history?
The API that clears the undo stack is ActiveDocument.UndoClear()
I'm not sure what you need to do, so I'm not sure how that is related to disabling Undo (your first question) which would be a different thing and require overriding the Ctrl+Z key, toolbars, etc.
© Copyright 2023. JustSystems Corp. All rights reserved.