Are you saying you want the File – Properties to match the new event’s properties?
Here’s part of a script of mine that sets the File – Properties. Of course you would need to change everything after the “=” signs to point to the information in your new event.
//Set the Height and Width
myvegas.Project.Video.Height = Convert.ToInt32(txtHeight.Text);
myvegas.Project.Video.Width = Convert.ToInt32(txtWidth.Text);
//Set the Field Order
switch (cmbFieldOrder.SelectedIndex)
{
case 0:
myvegas.Project.Video.FieldOrder = VideoFieldOrder.ProgressiveScan;
break;
case 1:
myvegas.Project.Video.FieldOrder = VideoFieldOrder.UpperFieldFirst;
break;
case 2:
myvegas.Project.Video.FieldOrder = VideoFieldOrder.LowerFieldFirst;
break;
}
//Set the PAR
myvegas.Project.Video.PixelAspectRatio = Convert.ToDouble(cmbPAR.SelectedItem.ToString().Substring(0,6));
//Set the Framerate
myvegas.Project.Video.FrameRate = Convert.ToDouble(cmbFrameRate.SelectedItem.ToString().Substring(0,6));
myvegas.UpdateUI();
Edward Troxel