Page 1 of 1

image count in import sequence

Posted: December 15th, 2009, 11:53 am
by edzis
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?

Re: image count in import sequence

Posted: December 17th, 2009, 5:57 pm
by lloydalvarez
You could use my Immigration script: http://aescripts.com/immigration

-Lloyd