I use a lot of simple scripts for navigation, e.g. move cursor right 3 sec. They work perfectly in V10, but erratically in V12. They work at first--then an error. Restarting Vegas gets them working again--until the next error. Here is an example script and the resulting error message. Any ideas?
wwaag
[IMG=http://i3.photobucket.com/albums/y91/wwaag76/ErrorMessage_zpse08cd907.jpg][/IMG]
wwaag
import Sony.Vegas;
var addFrames : int
var ProjectFrameRate = Vegas.Project.Video.FrameRate;
switch (ProjectFrameRate) {
case 29.97002997002997: //30fps
addFrames = 90;
break;
case 59.94005994005994: //60fps
addFrames = 180;
}
Vegas.Cursor = Vegas.Cursor + Timecode.FromFrames(addFrames);
[IMG=http://i3.photobucket.com/albums/y91/wwaag76/ErrorMessage_zpse08cd907.jpg][/IMG]