Templater ExtendScript API Reference

When creating a script using the Templater ExtendScript API, use the $D object to access Templater’s internal memory. Note that some of the following $D object methods will return unexpected values or errors depending on which event the ExtendScript is executed under — for example, on the Bot Enabled event.

WARNING  Some of the $D object methods may return unexpected values or errors depending on which event the ExtendScript is registered to. See Troubleshooting Event Scripts if your ExtendScript is not functioning as expected or After Effects hangs after registering the script.

Read more about using ExtendScripts with Templater to learn how to register them to specific events that Templater broadcasts.

Available Methods Assigned to the $D Object