Purges unused data of the specified types from memory. Replicates the Purge options in the Edit menu.target The type of elements to purge from memory; a Pur
Tag Archives: undo
beginUndoGroup()
Marks the beginning of an undo group, which allows a script to logically group all of its actions as a single undoable action for use with the Edit > Undo/R
endUndoGroup()
Marks the end of an undo group begun with the app.beginUndoGroup method. You can use this method to place an end to an undo group in the middle of a script,