Comments

jetdv wrote on 5/21/2004, 9:02 PM
Yes, it could be done.
ricklaut wrote on 5/23/2004, 6:39 AM
Good idea - this would be helpful indeed!

Rick
Hunter wrote on 5/27/2004, 11:18 PM
Ok, anybody want to give it a shot. I would but have no script skills, I guess I'm too old. :-)

Hunter
JohnnyRoy wrote on 5/28/2004, 5:50 PM
You didn't say where you wanted this list to be generated. Here is a script to get you started. It just lists the media pool assets in a dialog box. You could add to this script any other media attributes you need.
/**
* Program: ListMediaPoolAssets.js
* Description: This script will list all of the assets in the media pool.
*
* Author: Johnny (Roy) Rofrano john_rofano at hotmail dot com
*
* Date: May 28, 2004 - Initial Release
*
**/
import System.Text;
import System.Windows.Forms;
//import SonicFoundry.Vegas;
import Sony.Vegas;
var counter = 0;
try
{
var s : StringBuilder = new StringBuilder();
for (var media in Vegas.Project.MediaPool)
{
s.Append(counter + ": " + media.FilePath + "\n");
counter++;
}
MessageBox.Show(s.ToString());
}
catch (errorMsg)
{
MessageBox.Show(errorMsg, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
/** END OF SCRIPT **/

~jr
richjo100 wrote on 7/27/2004, 5:25 AM
Thanks JohnnyRoy
I have used your script as a basis for one of mine and it has saved me a lot of time
Richard