Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Sending to media encoder and remove from render queue - error

$
0
0

Hi guys,

 

I'm sending a comp from render Queue  to Media Encoder,

and then I'm removing the item from render Queue.

 

but when I run the code, After effects crashes .

 

Any help?

 

This is my code:

{ var Comp=app.project.item(1);//my item // Scripting support for Queue in AME. // Requires Adobe Media Encoder 11.0. {     if (app.project.renderQueue.canQueueInAME == true)     {         // Send queued items to AME, but do not start rendering.         app.project.renderQueue.queueInAME(false);      }     else {         alert("There are no queued item in the Render Queue.");     } } app.project.renderQueue.item(1).remove();// remove comp from renderQueue; }

Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>