FORUMS: list search recent posts

Executing command from script?

COW Forums : VEGAS Pro

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Jaime Pardos
Executing command from script?
on May 7, 2014 at 12:27:47 pm

I'm trying to launch some Vegas Command from a script.

Specifically, I have a script that writes another script, and I would like to refresh the script list (Tools | Scripting | Rescan Script Menu Folder).

I have found an InvokeCommand in the Vegas class, but the API document doesn't list it (I have Vegas 13), and I've been unable to launch the command I want.

I have tried the following:
vegas.InvokeCommand("Tools", "Rescan Script Menu Folder");
vegas.InvokeCommand(new CustomCommand(CommandCategory.Tools, "Rescan Script Menu Folder"));

and some other similar variations, but no luck.

I have searched the web but haven't found anything; only about Custom Commands in Extensions.

Any idea if what I'm trying is doable, and if so, what is the correct way?

Thank you very much.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved