Scripting Preferences?

randygo wrote on 4/28/2004, 4:06 PM

Is there any way to access the Preferences options via scripting?

I've looked at the scripting API document but I do not see anything obvious.

I would like to make a script that toggles "Show active take information in events"
on and off so I can quickly see pitch and stretch info for events. Then I could
run this script as a toolbar button.

Also, how about allowing scripts to have an image (or text) associated with them
so that if you do place a script on the toolbar you can identify it without viewing the
tooltip.

Thanks!

Randy

Comments

jetdv wrote on 4/28/2004, 7:09 PM
The preferences options are not available via scripting

Vegas 5 adds the ability to define your own icon which will appear in both the scripting menu and the toolbar. The new versions of Excalibur, Tsunami, and Neon all have icons now.
JohnnyRoy wrote on 4/29/2004, 4:59 AM
You got my vote for preference scripting. If you use Vegas for both Audio and Video, you need to tweak too many things to set up your new session. I would love to be able to script preferences so I can turn "Show active take information in events" and other options on and off easily.

~jr
johnmeyer wrote on 4/29/2004, 9:13 AM
Are these preferences stored in this key?
HKEY_CURRENT_USER\Software\Sony Media Software\Vegas\5.0\Metrics
If so, you might be able to save and restore that key, or portions of it.

jetdv wrote on 4/29/2004, 11:54 AM
I, for one, wouldn't want to be messing with their registry keys. However, even if you DID find it and change it, wouldn't Vegas have to be restarted in order to see the change???
randygo wrote on 4/29/2004, 2:04 PM

I diffed that registry subtree before and after changing the preference setting
and nothing changed. So it is likely the values are only stored and retrieved
from the registry on program start and exit.

If Sony can ever figure out how to script keystrokes that would go a long
way to working around these kinds of issues.