It can depend quite a bit on how your systems are configured, but I’ll try and outline the basics here. To run Event Scripts, the first thing you’ll need is a copy of Templater Bot. Event Scripts are only available on this version of Templater, so if you’re using Pro or Rig, this won’t be an option.
Once you’ve got Bot set up, head to the Templater Preferences window and click on “Setup ExtendScripts”. From there, you should get a box that will allow you to choose which Templater event you’d like to use to trigger the Event Script.
When I tested the script outlined above, I registered it on the “After layers update” event under “Layer Processing”. This instructs the script to run after any data versioning and Time Sculpting have been applied to the project.
If you’re running Templater via CLI, you’ll want to specify the script you’d like to run in the templater-options.json file on the appropriate Event. In this case, you’d want to add it to the “post_cmd_update” event.
Those are the basics, but more information can be found in this article from our support website. Additionally, we have some example scripts on our GitHub Page located here.
If you run into any hurdles or if we can answer any questions, just let us know!