Enumeration
UndoModes
Undo options for executing a script.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1699963221 | readonly | Automatically undo the entire script as part of the previous step. | |
| Number = 1699963733 | readonly | Undo the entire script as a single step. | |
| Number = 1699964501 | readonly | Fast undo the entire script as a single step. | |
| Number = 1699967573 | readonly | Undo each script request as a separate step. |
Object of 1
Properties elsewhere that hold an UndoModes value.
Parameter of 1
Method parameters that accept an UndoModes value.