Importing sequence of Files

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
jfotter
Posts: 6
Joined: March 2nd, 2009, 12:53 pm

I am trying to figure out how to import a sequence of exr files through a script. I'm new to AE scripting, and can't figure of what I am missing. I can Import a single file, but can't get a sequence to work. Can anyone shed some light on how to do this. Thanks.

Jason
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

Here's an example:

Code: Select all

var theSeq = new ImportOptions()
theSeq.file = new File("~/Documents/test/test.0001.exr");
theSeq.sequence = true;
app.project.importFile(theSeq);
Post Reply