Premiere + javascript automation.
I need to make automated video creation using javascript from small videos.
The main problem is that i can't find any proper documentation...
For example this will receive error:
folder = new Folder('C:\Users\dangerd\Desktop\Test');
var tempFiles = folder.getFiles(function(f) { return f instanceof File; });
While this works well: (folderPath variable is somehow defined)
new Folder('C:\Users\dangerd\Desktop\Test');
var tempFiles = folderPath.getFiles(function(f) { return f instanceof File; });
okay, that's weird...
So next question, how i can import all files from specified directory and put them into timeline with simple transitions between them and export video?
