/**
* This script will set the time at the cursor position to zero.
* SetCursorTimelineToZero.cs
*
* Written By: Edward Troxel
* Modified: 03-04-2011
**/
using Sony.Vegas;
public class EntryPoint
{
Vegas myVegas;
public void FromVegas(Vegas vegas)
{
myVegas = vegas;
myVegas.Project.Ruler.StartTime = new Timecode(0);
myVegas.Project.Ruler.StartTime = new Timecode(0) - myVegas.Transport.CursorPosition;