Shortcuts

Sebaz wrote on 1/27/2008, 9:58 AM
Is there a way to program Vegas to move the cursor in one second increments while pressing Alt and one of the direction keys? By default this makes the cursor go frame by frame, but I changed the shortcuts so I can go frame by frame by just pressing the direction keys because that's the way I like it. There doesn't seem to be a parameter for one second increments in the shortcuts editor.

Comments

Kennymusicman wrote on 1/27/2008, 10:44 AM
not a direct answer, but what might be useful, is num3, and num9 (ie, on numpad without numlock on). These will skip forward/backward in steps on your ruler
rmack350 wrote on 1/27/2008, 11:16 AM
Vegas uses screen resolution as a basis for movement, so the default left/right arrow key movement would move you one pixel. I guess that's useful from an interface standpoint but less useful from an editing standpoint. The end result is that the keys move you a certain amount depending on your zoom level.

The pageup/pagedown keys move you in major ticks of the timeline ruler so if you zoom in to the point that the major ticks = 1 second then you could get the behavior you want. I think this is the equivalent of the numpad behavior described, and it's worth learning to use the numpad. I should do it :-)

I submitted it as a suggestion (long ago) that it'd be handy to have some indication of your current zoom level. This could be as simple as a status bar text field that just shows two numbers, one for the size of the tick and one to show how much of the timeline is in view.

Media100 had (and probably still has) a nice zoom feature for the timeline. You could set two zoom level marks and then toggle between them, so you could quickly go back and forth between, for example, a 1 second view and a one minute view.

SCS doesn't adopt every suggestion.

Rob Mack
jetdv wrote on 1/27/2008, 1:36 PM
You could write a script that moved the cursor by a certain amount and then program those keys to run the scripts.
johnmeyer wrote on 1/27/2008, 1:36 PM
You could use this trivial script to move the cursor. Just change the variable "Advance" to whatever amount you want (it is set for one second in the version below). Assign the script to a keyboard shortcut, and then every time you press that shortcut key, the cursor will advance by that amount, regardless of screen resolution.

[Edit] I see that Ed beat me to the punch by eight seconds ...

/** 
* PURPOSE OF THIS SCRIPT:
*
* Move the cursor to the right by "n" frames.
*
* Copyright © John Meyer 2008
*
**/

import System;
import System.IO;
import System.Windows.Forms;
import Sony.Vegas;

try
{
// Change the variable below to change cursor advance
var Advance : Timecode = new Timecode("00:00:01:00");
Vegas.Cursor = Vegas.Cursor + Advance; // Change the cursor position.
Vegas.UpdateUI();
} catch (e)
{
MessageBox.Show(e);
}

Sebaz wrote on 1/27/2008, 2:51 PM
That's useful, thank you. I still don't know how to assign a script to a shortcut, but I'll check in the manual.