Nest selected comp into a new comp
Posted: July 8th, 2011, 5:02 pm
Hello,
What I'd like to accomplish (using Scripting) is the equivalent of dragging and releasing an existing comp over the 'Create a new composition' button, located at the bottom of the Project UI. Any idea of how to do this? I'll tweak some parameters of the new comp once I get there, but I'd like to at least try to figure that bit out on my own - as far as this goes though, I'm stumped.
I'm planning on using this bit of code to signify that I'd like the currently selected comp-item to be the comp affected:
note: Thanks for providing/participating-in a resource for ae scripting. This is truly great.
I4N
What I'd like to accomplish (using Scripting) is the equivalent of dragging and releasing an existing comp over the 'Create a new composition' button, located at the bottom of the Project UI. Any idea of how to do this? I'll tweak some parameters of the new comp once I get there, but I'd like to at least try to figure that bit out on my own - as far as this goes though, I'm stumped.
I'm planning on using this bit of code to signify that I'd like the currently selected comp-item to be the comp affected:
Code: Select all
var curItem=app.project.item();
note: Thanks for providing/participating-in a resource for ae scripting. This is truly great.
I4N