Adobe InCopy CS6 (8.0) Object Model JS: UndoModes

InCopy CS6

 Undo options for executing a script.

Value

NameDescriptionValue
UndoModes.AUTO_UNDOAutomatically undo the entire script as part of the previous step.1699963221 = 'eSaU'
UndoModes.ENTIRE_SCRIPTUndo the entire script as a single step.1699963733 = 'eScU'
UndoModes.FAST_ENTIRE_SCRIPTFast undo the entire script as a single step.1699964501 = 'eSfU'
UndoModes.SCRIPT_REQUESTUndo each script request as a separate step.1699967573 = 'eSrU'

Usage

In function

any Application.doScript (script: varies[, language: ScriptLanguage=ScriptLanguage.UNKNOWN][, withArguments: Array of any][, undoMode: UndoModes=UndoModes.SCRIPT_REQUEST][, undoName: string=Script])

As property

Application.activeScriptUndoMode

Jongware, 29-Apr-2012 v3.0.3iContents :: Index