Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
1

app.project.renderQueue.render() doesn't work

New Here ,
Dec 05, 2017 Dec 05, 2017

Copy link to clipboard

Copied

Hi,

I am trying to app.project.renderQueue.render()

However, the err say :

After Effects error: render() may not be called while rendering is paused.

I just want to know to use render.

It's like button "render" on panel.

Views

746
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Dec 20, 2017 Dec 20, 2017

Hi SaesaemL,

Please inspect the following post: AE stops updating interface, shows spinning cursor when rendering via script

Does that assist your issue?

Thanks,

Kevin

Votes

Translate

correct answers 1 Pinned Reply

Adobe Employee , Mar 04, 2025 Mar 04, 2025

Thanks for the question, Nathan. Welcome to the forum. I am Kevin, a moderator here. It sounds like you have a scripting question, which is outside my purview here in support. We'll have to await assistance from the community or from the team. Please check our scripting guide: https://adobe.ly/4iriuVG. That may help. I have heard that the app.scheduleTask() might be the code that could control a script's timing to run after the render is complete. As to running anything while rendering that woul

...

Votes

Translate
Adobe Employee ,
Dec 20, 2017 Dec 20, 2017

Copy link to clipboard

Copied

Hi SaesaemL,

Please inspect the following post: AE stops updating interface, shows spinning cursor when rendering via script

Does that assist your issue?

Thanks,

Kevin

Kevin Monahan - Sr. Community & Engagement Strategist – Pro Video and Audio

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2020 Feb 28, 2020

Copy link to clipboard

Copied

Hi,

I am also trying to use: app.project.renderQueue.render(); in After Effects 17.0.4

After that After Effects it stops working 😞

 

app.project.renderQueue.queueInAME(true); - this command working fine.

 

Please help.

 

 

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 04, 2025 Mar 04, 2025

Copy link to clipboard

Copied

What if we have more script to execute after rendering is finished (and don't want the UI to freeze while rendering)?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 04, 2025 Mar 04, 2025

Copy link to clipboard

Copied

Thanks for the question, Nathan. Welcome to the forum. I am Kevin, a moderator here. It sounds like you have a scripting question, which is outside my purview here in support. We'll have to await assistance from the community or from the team. Please check our scripting guide: https://adobe.ly/4iriuVG. That may help. I have heard that the app.scheduleTask() might be the code that could control a script's timing to run after the render is complete. As to running anything while rendering that would not touch the UI, I suppose it's possible, but we'll have to wait for the experts to comment. I hope the community can assist you shortly. Take Care.

 

Thanks,
Kevin

 

Kevin Monahan - Sr. Community & Engagement Strategist – Pro Video and Audio

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2025 Mar 05, 2025

Copy link to clipboard

Copied

LATEST

Thanks for reaching out so quickly Kevin! I tried using app.scheduleTask() as you suggested, but it seems to have the same issue.

 

You can see the UI freeze issue just running this one line of code:

app.project.renderQueue.render();


The render progress bar that would usually be blue and green when manually pressing the "Render" button, stays gray when using this code to essentially run the same command. It does render the queue, it is just confusing for the user since it looks like the software is frozen.


The other forum post you linked above has a work-around to emulate the Enter key being pressed, but I'm afraid that might only work if I don't have any code to be executed after the rendering finishes.

 

Thanks again for looking into this!

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines