image count in import sequence

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
edzis
Posts: 4
Joined: December 13th, 2009, 3:36 pm

Is it possible to import selected images in a sequence without user manually specifying them? Function importFileWithDialog() does not suite because it asks for users input.
I have a folder with 60 images what has to result in 3 sequences of 20 images. Currently I am using

Code: Select all

var importOptions = new ImportOptions(firstFile);
importOptions.sequence = true;
var footage = app.project.importFile(importOptions);
but there is no documented way of specifying a list or array of files or setting the maximum count of imported files.
What could you suggest?

Another approach I was looking at is to create temporary folders, but could someone recommend an example?
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

You could use my Immigration script: http://aescripts.com/immigration

-Lloyd
Post Reply