Hey all,
I'm trying to figure out how to display a dialog that pops up with information about selected footage items. Basically you'd select all your footage in the project panel, run the script and a window pops up showing you a spreadsheet like display with properties like name, framerate, duration, alpha etc...
I've figured out how to call out a specific footage item in the array but I can't figure out how to display the entire list in a formatted way. Any help is much appreciated.
Display Dialog with List
Moderator: Paul Tuersley
I got something to work but it's not very elegant. Any ideas how to display this information is a more polished manner?
Thanks!
Thanks!
Code: Select all
var fileName = new Array();
var fileFrameRate = new Array();
var fileDuration = new Array();
var displayList = new Array();
for (var i = 0; i < selectedFiles.length; i++)
{
fileName[i] = selectedFiles[i].name;
fileFrameRate[i] = selectedFiles[i].frameRate;
fileDuration[i] = selectedFiles[i].duration;
displayList[i] = fileName[i] + " " + fileFrameRate[i] + " " + timeToCurrentFormat(fileDuration[i], fileFrameRate[i]) + "\n";
}
alert (displayList);