<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Templater Event Scripts]]></title><description><![CDATA[Questions, answers, and discussions about Templater&#x27;s automation extensibility and integration.]]></description><link>https://forums.dataclay.com/category/3</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 03:52:54 GMT</lastBuildDate><atom:link href="https://forums.dataclay.com/category/3.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 Sep 2023 15:16:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Does post_cmd_job include changes saved to the file?]]></title><description><![CDATA[@RyanB
Glad to hear that you were able to track down the issue. I did some research and spoke with some of our devs, and I can confirm that all write operations for both replication and render actions should be completed before any “post_cmd_job” actions are run.
If you have any other questions, please feel free to let us know.
Thanks,
Jeff
]]></description><link>https://forums.dataclay.com/topic/318/does-post_cmd_job-include-changes-saved-to-the-file</link><guid isPermaLink="true">https://forums.dataclay.com/topic/318/does-post_cmd_job-include-changes-saved-to-the-file</guid><dc:creator><![CDATA[Jeff]]></dc:creator><pubDate>Thu, 07 Sep 2023 15:16:19 GMT</pubDate></item><item><title><![CDATA[Templater not waiting for synchronous &#x27;post_cmd_job&#x27; script to finish execution before marking job as done in data source.]]></title><description><![CDATA[@viriato
Hmmm. That’s quite odd. One thing to check would be to see what the value of post_cmd_output_async is in the templater-options.json file. That key should be set to false to enable synchronous execution, which should keep the post_cmd_job action from setting the render-status to done until the script is completed.
If that doesn’t make any difference, we might need to get some additional information on what actions the script is performing. If that ends up being the case and you’d like to provide that information in a less public setting, please feel free to email our support channel directly at support@dataclay.com
Thanks!
]]></description><link>https://forums.dataclay.com/topic/262/templater-not-waiting-for-synchronous-post_cmd_job-script-to-finish-execution-before-marking-job-as-done-in-data-source</link><guid isPermaLink="true">https://forums.dataclay.com/topic/262/templater-not-waiting-for-synchronous-post_cmd_job-script-to-finish-execution-before-marking-job-as-done-in-data-source</guid><dc:creator><![CDATA[Jeff]]></dc:creator><pubDate>Sun, 09 Oct 2022 12:18:24 GMT</pubDate></item><item><title><![CDATA[Looking for some freelancer help]]></title><description><![CDATA[@hiredgoon
In addition to any responses you might get here, please feel free to contact us directly at support@dataclay.com. We keep an internal list of Freelancers with Templater experience that we’d be more than happy to share with you.
Thanks!
]]></description><link>https://forums.dataclay.com/topic/247/looking-for-some-freelancer-help</link><guid isPermaLink="true">https://forums.dataclay.com/topic/247/looking-for-some-freelancer-help</guid><dc:creator><![CDATA[Jeff]]></dc:creator><pubDate>Mon, 06 Jun 2022 11:17:26 GMT</pubDate></item><item><title><![CDATA[Windows batch command doesnt work]]></title><description><![CDATA[@coeing Sorry for the time sink — I know it can be painful.  We have fixed this, but we are working towards polishing some features in Templater with our new API product, QUE which is an intense dev task.  We are aiming to release Templater 3 before end of year.  Thank you for your patience and for using our software!
]]></description><link>https://forums.dataclay.com/topic/187/windows-batch-command-doesnt-work</link><guid isPermaLink="true">https://forums.dataclay.com/topic/187/windows-batch-command-doesnt-work</guid><dc:creator><![CDATA[ariestav]]></dc:creator><pubDate>Mon, 21 Jun 2021 08:33:51 GMT</pubDate></item><item><title><![CDATA[Issue getting Shell commands to run]]></title><description><![CDATA[Great to hear!  Happy Rendering!
]]></description><link>https://forums.dataclay.com/topic/183/issue-getting-shell-commands-to-run</link><guid isPermaLink="true">https://forums.dataclay.com/topic/183/issue-getting-shell-commands-to-run</guid><dc:creator><![CDATA[ariestav]]></dc:creator><pubDate>Fri, 04 Jun 2021 19:13:36 GMT</pubDate></item><item><title><![CDATA[Automate Uploading Videos and Parsing YouTube URL back into a sheet]]></title><description><![CDATA[Hi Jeff,
Thanks so much for your thorough feedback. After reviewing the options you’ve presented, I think I will use Zapier - As I’m a bit of a coding novice, it seems like the easiest solution for me to deploy.
I will check back in if I have any hurdles with Templater and the Bot in the process.
I appreciate your help!
Tom
]]></description><link>https://forums.dataclay.com/topic/167/automate-uploading-videos-and-parsing-youtube-url-back-into-a-sheet</link><guid isPermaLink="true">https://forums.dataclay.com/topic/167/automate-uploading-videos-and-parsing-youtube-url-back-into-a-sheet</guid><dc:creator><![CDATA[ACF]]></dc:creator><pubDate>Thu, 08 Apr 2021 03:15:57 GMT</pubDate></item><item><title><![CDATA[Running Batch Script]]></title><description><![CDATA[@ariestav I couldn’t attach the templater-event-cmd.bat so I copied the contents into the body of the email with my batch script.
]]></description><link>https://forums.dataclay.com/topic/156/running-batch-script</link><guid isPermaLink="true">https://forums.dataclay.com/topic/156/running-batch-script</guid><dc:creator><![CDATA[voelz]]></dc:creator><pubDate>Mon, 15 Mar 2021 17:23:07 GMT</pubDate></item><item><title><![CDATA[Simple startup scipt to open and enable bot]]></title><description><![CDATA[Hi There,
I believe we received a support ticket via our support channel.  We were able to investigate the issue with the items you provided, and just wanted to follow up with your post here as well for the sake of building community knowledge:
I took a look through your templater-options.json​ file which is a configuration for Templater’s main panel and preferences.  First, when using the Templater CLI, you’ll want to make sure to quit and exit AE so that it’s not running.  If you have it running while you attempt to launch via the CLI then there are conflicting configurations — the GUI configuration and the CLI configuration.  So they are kind of mutually exclusive.
Now, one thing to note is that the tasks​ object has two properties set to true​ in your templater-options.json​ file.  You can only ever have one option set there.  One task is to enable the bot, while another is to replicate a batch.  Think of those properties as being “mapped” to the buttons in the main Templater GUI.  You tell what the Bot to do in the prefs​ objects under the bot​ sub object — specifically the action_render​ and action_replicate​.  So, my suggestion is to set the replicate​ property in the tasks​ object to false, and leave the action_replicate​ to true and the action_render​ to false.
Also, I would like to see the exact Powershell incantation you are using to perform the launch.  If you want to enable bot from the command line, you will need to use the -ui​ flag because enabling Bot requires AE’s GUI open up.
Please let me know if this helps.
]]></description><link>https://forums.dataclay.com/topic/131/simple-startup-scipt-to-open-and-enable-bot</link><guid isPermaLink="true">https://forums.dataclay.com/topic/131/simple-startup-scipt-to-open-and-enable-bot</guid><dc:creator><![CDATA[ariestav]]></dc:creator><pubDate>Thu, 19 Nov 2020 13:07:28 GMT</pubDate></item><item><title><![CDATA[Call a Shell Script w&#x2F; Bot]]></title><description><![CDATA[Have you taken a look at your templater.log file for any clues as to the issue?  In that log file, it will show you exactly what it attempts to execute in the shell.  You can copy and paste that from the log to a new terminal window and try it there.  Keep in mine that the environment that Templater executes in might be different from the environment in your own Terminal shell.  Maybe something is not included in a path?  I’m sure cp command is, but I’m just saying that there might be something related to environment.
Also, take a read through this to troubleshoot:
http://support.dataclay.com/content/how_to/bot/event_scripts/troubleshooting_event_scripts.htm
Please let us know if this helps.
Thanks!
]]></description><link>https://forums.dataclay.com/topic/103/call-a-shell-script-w-bot</link><guid isPermaLink="true">https://forums.dataclay.com/topic/103/call-a-shell-script-w-bot</guid><dc:creator><![CDATA[ariestav]]></dc:creator><pubDate>Tue, 21 Jan 2020 16:52:03 GMT</pubDate></item><item><title><![CDATA[Asynchronous Scripts]]></title><description><![CDATA[@pbretz I believe that all you would need to do is add an exit command to the end of your script, so that it closes once it is complete. Are you on MacOS or Windows? I would suggest looking into the syntax for your OS.
]]></description><link>https://forums.dataclay.com/topic/94/asynchronous-scripts</link><guid isPermaLink="true">https://forums.dataclay.com/topic/94/asynchronous-scripts</guid><dc:creator><![CDATA[Jon]]></dc:creator><pubDate>Tue, 22 Oct 2019 17:02:40 GMT</pubDate></item><item><title><![CDATA[Event script to update render-status on URL feed]]></title><description><![CDATA[@spelgrift Take a look at the table in our documentation that defines each event and when it is broadcast within Templater’s algorithm.  This should help you decide which events to register your scripts to.
]]></description><link>https://forums.dataclay.com/topic/79/event-script-to-update-render-status-on-url-feed</link><guid isPermaLink="true">https://forums.dataclay.com/topic/79/event-script-to-update-render-status-on-url-feed</guid><dc:creator><![CDATA[ariestav]]></dc:creator><pubDate>Wed, 01 May 2019 23:55:31 GMT</pubDate></item><item><title><![CDATA[Script on AME Render complete]]></title><description><![CDATA[@jon looks like I needed an absolute path for the aws command.  All’s working now!  Thanks for the help.
]]></description><link>https://forums.dataclay.com/topic/40/script-on-ame-render-complete</link><guid isPermaLink="true">https://forums.dataclay.com/topic/40/script-on-ame-render-complete</guid><dc:creator><![CDATA[pbretz]]></dc:creator><pubDate>Wed, 16 May 2018 20:23:23 GMT</pubDate></item><item><title><![CDATA[Rendering while event scripts are still running]]></title><description><![CDATA[Alfie,
You’re awesome for posting to this forum and then following up to help others!  Much appreciated, and thank you for using our products.
—Arie
]]></description><link>https://forums.dataclay.com/topic/39/rendering-while-event-scripts-are-still-running</link><guid isPermaLink="true">https://forums.dataclay.com/topic/39/rendering-while-event-scripts-are-still-running</guid><dc:creator><![CDATA[ariestav]]></dc:creator><pubDate>Thu, 03 May 2018 09:16:44 GMT</pubDate></item><item><title><![CDATA[Problem with CLI script]]></title><description><![CDATA[Sorry you’re having that issue. We’re working hard to get the docs and GitHub repo updated to reflect all of the new features of 2.7. We’re hoping to have those up in the next few days. In the meantime, we added a new setting to the Templater Preferences. Can I have you try adding this line into the prefs object of your templater-options.json: "supress_ae_dialogs" : true
We’re going to be issuing an update soon, so for 2.7.1 that option will no longer be required.
Also, if you are launching the Bot with the CLI, make sure that you use a -ui argument in your shell script.
]]></description><link>https://forums.dataclay.com/topic/38/problem-with-cli-script</link><guid isPermaLink="true">https://forums.dataclay.com/topic/38/problem-with-cli-script</guid><dc:creator><![CDATA[Jon]]></dc:creator><pubDate>Wed, 18 Apr 2018 17:20:21 GMT</pubDate></item><item><title><![CDATA[Calling multiple individual files at once]]></title><description><![CDATA[@wst-shorty You only need to start AE once for each video, not for each render.
For a single video, have more than one object / row that each specifies which compositions you want AE to render.  That is, each object / row will have a different target value.  Then, specify those rows / objects in row_start and row_end values in the templater-options.json file.
You should also register a script for the post-batch event that handles the “stitching” together of the outputs.  Go through the README file on our github repo for event-scripts.  Take note of the NodeJS concatenate sample script that does this.  You’re using PHP so it will be different, but if you have node installed on the server, you can use it straight away.
Please let us know if this helps.
Thanks!
]]></description><link>https://forums.dataclay.com/topic/28/calling-multiple-individual-files-at-once</link><guid isPermaLink="true">https://forums.dataclay.com/topic/28/calling-multiple-individual-files-at-once</guid><dc:creator><![CDATA[ariestav]]></dc:creator><pubDate>Fri, 23 Jun 2017 09:54:28 GMT</pubDate></item><item><title><![CDATA[Multiple Command Line Calls with Shell Exec]]></title><description><![CDATA[@wst-shorty You’re welcome!  Thanks for following up and letting us know.
]]></description><link>https://forums.dataclay.com/topic/27/multiple-command-line-calls-with-shell-exec</link><guid isPermaLink="true">https://forums.dataclay.com/topic/27/multiple-command-line-calls-with-shell-exec</guid><dc:creator><![CDATA[ariestav]]></dc:creator><pubDate>Mon, 05 Jun 2017 02:15:24 GMT</pubDate></item><item><title><![CDATA[Extend Templater&#x27;s Automation Capabilities]]></title><description><![CDATA[<p dir="auto">Here are some resources to get you started with writing scripts that can hook into Templater’s automation processes.  You can choose to code the script in any language the environment running Templater can interpret</p>
<ul>
<li>
<p dir="auto"><em><strong>Event Scripts for Templater</strong></em><br />
The <a href="http://github.com/dataclay/event-scripts" rel="nofollow ugc">README file found in the event-scripts repository</a> on GitHub.</p>
</li>
<li>
<p dir="auto"><em><strong>Event Scripts</strong></em><br />
The <a href="http://support.dataclay.com/content/concepts/bot/event_scripts.htm" rel="nofollow ugc">Event Scripts topic page in Templater’s documentation</a> leading to:</p>
<ul>
<li><em><a href="http://support.dataclay.com/content/how_to/the_bot/using_event_scripts_for_bot_events.htm" rel="nofollow ugc">Using Event Scripts for Bot Events</a></em></li>
<li><em><a href="http://support.dataclay.com/content/how_to/the_bot/passing_job_details_to_event_scripts.htm" rel="nofollow ugc">Passing Job Details to Event Scripts</a></em></li>
<li><em><a href="http://support.dataclay.com/content/how_to/the_bot/troubleshooting_event_scripts.htm" rel="nofollow ugc">Troubleshooting Event Scripts</a></em></li>
</ul>
</li>
</ul>
]]></description><link>https://forums.dataclay.com/topic/7/extend-templater-s-automation-capabilities</link><guid isPermaLink="true">https://forums.dataclay.com/topic/7/extend-templater-s-automation-capabilities</guid><dc:creator><![CDATA[ariestav]]></dc:creator><pubDate>Tue, 26 Jul 2016 18:27:25 GMT</pubDate></item></channel></rss>