Created
January 31, 2026 17:31
-
-
Save rafikhan/2dc717b9b3e8d4a95e4940a2526189a1 to your computer and use it in GitHub Desktop.
Add item to render queue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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