Programmatically issue "undo" command?

johnpitcairn's icon

Is it possible to issue an "undo" command from within an external?

Can someone point me to the documentation if so? Thanks.

johnpitcairn's icon

Ah ... for that matter, can I add actions to the undo stack? Specifically, if I programmatically delete a patcher using object_free, can I add that deletion to the undo stack?

AudioMatt's icon

Decade Bump! This would be a nice addition to the API.