duplicate project item
Posted: March 4th, 2007, 5:17 pm
hi
i'm new to ae scripting but i got some of my scripts working somehow.
now i'm dealing with a problem: how to duplicate a project item?
i've seen in the scripting guide a way to duplicate a layer, and i tried different modifications of that to duplicate the project item, but i just cant get it to work.
any one can help?
and i just hope that the duplicate() function returns a index of the duplicated item, am i right?
oh. and btw... is there a way to add a Event Listener to AE7? for example... i have a script in Startup folder that creates a folder structure that i like to work in, but when i go to File > New project i loose it and i have to run the script by hand. is there a way to set the script to listen for event "New project" and then execute?
i'm new to ae scripting but i got some of my scripts working somehow.
now i'm dealing with a problem: how to duplicate a project item?
i've seen in the scripting guide a way to duplicate a layer, and i tried different modifications of that to duplicate the project item, but i just cant get it to work.
any one can help?
and i just hope that the duplicate() function returns a index of the duplicated item, am i right?
oh. and btw... is there a way to add a Event Listener to AE7? for example... i have a script in Startup folder that creates a folder structure that i like to work in, but when i go to File > New project i loose it and i have to run the script by hand. is there a way to set the script to listen for event "New project" and then execute?