Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Script for play from cursor

  • Script for play from cursor

    Posted by Leaning Less on July 15, 2014 at 7:18 pm

    I have the script, which move the cursor at 3 sec ago, but i also need starting playing from cursor. What do i need at the script?
    import System.Windows.Forms;
    import Sony.Vegas;

    try {
    var timeStamp = new Timecode("00:00:03:00");

    Vegas.Cursor = Vegas.Cursor - timeStamp;

    } catch (e) {
    MessageBox.Show(e);
    }

    Edward Troxel replied 11 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Edward Troxel

    July 16, 2014 at 2:11 pm

    First of all, instead of “Vegas.Cursor” you should be using “Vegas.Transport.CursorPosition”

    Then you can use the “Vegas.Transport.Play()” command to start playback.

    Edward Troxel

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy