Comments

JohnnyRoy wrote on 9/28/2008, 7:49 AM
Do you know JavaScript, VisualBasic or C#? You will need these skills for scripting. You could buy Ultimate S Pro or Excalibur, both have the ability to add an FX to selected events and a whole lot more. (Thank you for purchasing Celluloid by the way) You could also move those events to an empty track and apply the Sharpen FX to the new track without needing a script.

Or... you could use this script which I've created for you to do exactly this task. ;-)

//*******************************************************************
// Program: AddFXToSelectedEvents.cs
// Author: John Rofrano
// Copyright: © Sundance Media Group/VASST 2008, All Rights Reserved
// Updated: September 28, 2008
//*******************************************************************
using System;
using System.Windows.Forms;
using Sony.Vegas;

class EntryPoint
{
public void FromVegas(Vegas vegas)
{
// Change the pluginName below to the FX you want to apply
string pluginName = "Sony Sharpen";

// Change the presetName below to the preset you want to apply
string presetName = "Light";

try
{
PlugInNode plugIn = vegas.VideoFX.GetChildByName(pluginName);

foreach (Track track in vegas.Project.Tracks)
{
if (!track.IsVideo()) continue;

foreach (VideoEvent videoEvent in track.Events)
{
if (videoEvent.Selected)
{
Effect effect = new Effect(plugIn);
videoEvent.Effects.Add(effect);
effect.Preset = presetName;
}
}
}
}
catch (Exception e)
{
MessageBox.Show(e.Message, "Unexpected Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}

~jr
dannyoneill wrote on 9/29/2008, 1:15 PM
Thank you very much, that was just ideal.