FORUMS: list search recent posts

Script for play from cursor

COW Forums : VEGAS Pro

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
leaning less
Script for play from cursor
on Jul 15, 2014 at 7:18:30 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);
}


Return to posts index


Edward Troxel
Re: Script for play from cursor
on Jul 16, 2014 at 2:11:34 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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]