-
Markers
Posted by Dan Thompson on July 4, 2011 at 10:39 pmI’ve got a client that wants chapter markers inserted every 2 minutes. This is time consuming so I’m wondering if there is a way to tell vegas to add them at 2 minute intervals. Thanks, Dan
I’m using Vegas Pro 10d
Dan Thompson replied 9 years, 5 months ago 3 Members · 6 Replies -
6 Replies
-
Mike Kujbida
July 4, 2011 at 10:57 pmHere’s a script (courtesy of Edward Troxel) that will do what you want.
Copy everything below this reply, save it as AddMarkersAtIntervalob.js, place it in your script menu folder and run it when needed.
The beauty of this script is that it can be modified to add markers at any interval you want just by changing the appropriate line./**
* This script will add markers at the specified interval
*
* Written By: Edward Troxel
* https://www.jetdv.com/tts
* Modified: 09-19-2003
**/import System;
import System.IO;
import System.Windows.Forms;
import Sony.Vegas;//Modify the timecode on the next line to change the interval.
var Interval = “00:02:00:00”;var zd7f2e30bc7=
Interval;try{
var z75282fe324:
Marker;
var za684dd0854:Timecode=new Timecode(zd7f2e30bc7);
var z88cf708b9e:
Timecode=za684dd0854;
var z0174fc9e78:Timecode=Vegas.Project.Length;while(
z88cf708b9e -
Mike Kujbida
July 5, 2011 at 2:36 amYou’re welcome Dan.
I forgot to mention that I tried it on Pro 10.0d and it worked just fine. -
Dan Thompson
July 5, 2011 at 1:36 pmSo, I’m trying to highlight everything below reply, right click and save as, but that option does not show up in the menu. Where am I going wrong?
Excuse the ignorance on my part but I’m coming from FCP on an old Mac into the PC world. Thanks, Dan -
Stewart Bourke
July 5, 2011 at 1:46 pmDan,
Select the text you want to save by holding down the left arrow and highlighting the text in the script.
Then right-click and select ‘copy’
Open notepad (or any other text editor), paste the text into it and save the file with the name suggested by Mike above.
That then gives you a new file containing just the script. Reference that file as suggested by mike.
To the best of my knowledge the ‘save as’ does not work for selected text in browsers – only images or referenced links.
Hope this helps
-
Dan Thompson
December 12, 2016 at 9:11 pmWell, this was working well in Vegas Pro 12 until my hard drive crashed. Now I’ve replaced the hard drive and reinstalled window and all my software. Everytime I try to reinstall this script, it won’t work. Any sugestions?
Reply to this Discussion! Login or Sign Up