Skip to main content
Participant
December 2, 2024
Question

How to run scripts in After effects without running it manually.

  • December 2, 2024
  • 2 replies
  • 911 views

I want to render multiple composition in a single file but it has to render specific composition which will be controlled through JSON. This has to be done automatically through scripts without running it manually.

This topic has been closed for replies.

2 replies

Participating Frequently
December 5, 2024

You can check out Plainly Videos (https://plainlyvideos.com).

Basically you would upload an After Effects project to Plainly web-app and then you can select which compositions you want to render and if you want to change any specific layer property. For example, you can select to change texts, images, colors, control values, etc. And then when subbmitting a render, you would provide parameters as JSON.

The good thing is the autiomation support. You can connect Plainly  to a bunch of tools, so you can completly avoid triggering renders manually as you descibed.

Inspiring
December 5, 2024

@Ivan Senic  is there way or anything api or tools or scripts or anything to extract layers, comps information in browser. how to do it?

Participating Frequently
December 5, 2024

thank for replay @Ivan Senic. I have my own app where it automatically replaces the ae layers and images and audio and i want is this functionality where in browser or server side i can extract data of the layers easily without heavy work like palinly does. @Ivan Senic  it will be great help if you provide any resources on this. thanks in advance dear.


I am affraid then you need to write your own JSX script and pull that into the aerender executable. And the script can then do what ever yoour business logic requires.

Legend
December 2, 2024

Hi there! 👋

 

Not sure if this will help, but you can use Templater from Dataclay to achieve this.  Specifically you can use Templater Pro or Templater Bot editions.

 

You can have your JSON file be an array of objects where each has a "target" property key that specifies which project composition you want AE to render out automatically.  This "target" property key's

value specifies the composition by name.  Then, when processing the JSON file, Templater will process that specific composition to be rendered out.

 

You can learn more about it at https://dataclay.com/templater