Footage replace, beginners trouble
Posted: October 24th, 2007, 12:40 am
Hi everyone,
I've only just begun scripting for AE (currently using 6.5 till our upgrades turn up). I have a scripting background in other apps but I'm struggling with some of the basics here.
I'm trying to write a script to replace a bunch of selected sequences and their proxies. Each piece of footage should share a common folder up to a point but may be nested in sub folders. The proxies will just be pointing to a global folder.
I'm actually struggling at the point of retrieving the path of a piece of footage. I can get the piece of footage but if i use the following
var myItemCollection = app.project.item(1);
clearOutput();
writeLn (myItemCollection.file);
all it returns is "File"
I dont quite understand how to get the string that contains the whole path rather than it returning the object "file" And I cant find any other functions in the help to actually return the path of footage only for the project itself.
I think I'm doing some fundamental things wrong here and need a push in the right direction. Any help appreciated
DaveMcD
I've only just begun scripting for AE (currently using 6.5 till our upgrades turn up). I have a scripting background in other apps but I'm struggling with some of the basics here.
I'm trying to write a script to replace a bunch of selected sequences and their proxies. Each piece of footage should share a common folder up to a point but may be nested in sub folders. The proxies will just be pointing to a global folder.
I'm actually struggling at the point of retrieving the path of a piece of footage. I can get the piece of footage but if i use the following
var myItemCollection = app.project.item(1);
clearOutput();
writeLn (myItemCollection.file);
all it returns is "File"
I dont quite understand how to get the string that contains the whole path rather than it returning the object "file" And I cant find any other functions in the help to actually return the path of footage only for the project itself.
I think I'm doing some fundamental things wrong here and need a push in the right direction. Any help appreciated
DaveMcD