Looking around I’m not finding anything,
I know you can create project scripts on a designer save, but is there a module hook you can implement to trigger module scripts on designer saves?
Looking around I’m not finding anything,
I know you can create project scripts on a designer save, but is there a module hook you can implement to trigger module scripts on designer saves?
You'll pretty reliably get fresh ScriptManager initialization calls for newly saved projects.
Looking for a way to auto-export something as a file on every save (from a module)
Do you think this is a reliable enough way to trigger this? Or should I look for something more deterministic?
Maybe hook with this?
Hello @kgamble,
You can override the notifyProjectSaveDone method of your DesignerHook.
https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.1/com/inductiveautomation/ignition/designer/model/AbstractDesignerModuleHook.html#notifyProjectSaveDone()