Performing script upon save
Hi there,
Is it possible (through a defer() loop) to perform an action once a REAPER project is saved?
If the "save" command was in the undo history, I could continuously scan the most recent event in the undo history and wait for it to be a "save" command. Of course, saving has no place in the undo history, but that's the kind of logic I'm trying to apply here. Is there any place where save history is stored in REAPER?
EDIT: Apparently saving IS denoted in the undo history as "[LAST SAVE]". But I'm struggling to find where in the API to access that history. Can anyone help?
Last edited by mazegeek999; 10-02-2022 at 04:30 PM.
|