nuke.addOnScriptSave

nuke.addOnScriptSave(call, args=(), kwargs={}, nodeClass='Root')[source]

Add code to execute before a script is saved