Skip to content

Instantly share code, notes, and snippets.

@rafikhan
Created January 31, 2026 17:31
Show Gist options
  • Select an option

  • Save rafikhan/2dc717b9b3e8d4a95e4940a2526189a1 to your computer and use it in GitHub Desktop.

Select an option

Save rafikhan/2dc717b9b3e8d4a95e4940a2526189a1 to your computer and use it in GitHub Desktop.
Add item to render queue
/**
* Programmatically adds the active item to the render queue
*
* Use this in a KBar Scriptlet button or JSX file
*/
var activeItem = app.project.activeItem;
if (activeItem != null && activeItem instanceof CompItem) {
app.project.renderQueue.items.add(activeItem);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment