Copy link to clipboard
Copied
I'm trying to figure out a way to appropriately render my output my files to a dated, and maybe hourly directory.
I know how to create an expression to write the date into a "Source Text" field.
//CampName and Date
D = new Date(Date(0));
//Today's Month
+ (D.getMonth()+1) + "/"
//Today's Day
+ D.getDate() + "/"
//Today's Year
+ D.getFullYear()
How can I get this expression into text blocks so I can connect it to my output path that I pipe into a "add to Ae render queue" block?
As always, any input is appreciated.
----------------------------
BTW, I just wanted to again say thank you for this extension. It has literally changed how I work. I've built a system to render my projects to specific folders and name them appropriately for various outputs. It has saved me hours/days of work and changed my productivity dramatically. I'm adding and changing the system all the time and it's been a revelation. Here's a snapshot of how deep it's gotten.
This supports the following dialog. (I'm currently trying to automated the dated value in the Playlist Name)
I've not had to enter an Output Module setting or Output To Path dialog in more than a year because of Automation Blocks.
If you've not seen or used this extention, GET IT! I'm not a programmer, just a nearly 30 year user of After Effects.
Copy link to clipboard
Copied
You can generate the date string with the Execute Code block:
If you want the date in any other format and are not sure about the code, you can also ask ChatGPT like "please write a JavaScript function for me, which returns the current date in the following format..."
Copy link to clipboard
Copied
Would the "Exectue Code Block" allow the execution of python script outside of AE?
Cause that opens a whole new can of worms...
Copy link to clipboard
Copied
In Ae, with the Execute Code block you can also call the API function System.callSystem
With that function you can execute arbitrary terminal commands. This can also be a terminal command like
python filename.py
Here are some relevant infos from ChatGPT about the exact code you need (which sounds reasonable but I didn't test it)
https://chatgpt.com/share/67176a88-c5e8-8004-abcc-f8ea43c1cfc2