-
Import a file + a couple more steps script
Hello,
Just after some help in scripting some automated workflow in after effects. (I’ve downloaded kbar and am making scriptlet buttons)
I’m learning how to do broader after effects scripting slowly but I don’t really understand as much as I’d like.Im after a script that:
1. Imports 2 files
2. Puts the files in the current selected comp
3. Make them a guide layer
4. Lock them bothI’ve currently only got step one down, which is simple stuff, and that was after a lot of googling.
I know I need to add some variables and something like var myComp = app.project.activeItem; etc.
Im just not sure of the order and finer details…
Any help would be greatly appreciated 🙂newFootageItem = app.project.importFile(new ImportOptions(new File("filepath/FILE1.png")));
newFootageItem = app.project.importFile(new ImportOptions(new File("filepath/FILE2.png")));