Comments

jetdv wrote on 10/2/2003, 3:19 PM
CTRL-ALT-DEL???
jbittner wrote on 10/2/2003, 3:43 PM
No. I'm looking for a method to call or property to set.
Thanks
SonyPJM wrote on 10/6/2003, 4:03 PM

At the moment there is no simple way to cancel a render from a script.

But you can manually cancel a render that was initiated from a script
by hitting the escape key or clicking the cancel button in the render
progress dialog.

When a render is canceled, the result of the Vegas.Render method is
RenderStatus.Canceled.
jbittner wrote on 10/6/2003, 6:12 PM
Thanks, but that doesn't work for me the way I'm currently doing things.

I have a GUI implemented as a WIndows Form in C# that I want to keep open while it renders projects. The GUI is launched from a script that passes it a Vegas object. Currently I'm opening the form as a modal dialog and that blocks all input to the Vegas App. If I open the GUI in a non-modal way, then I need to keep the script alive (for the sake of the Vegas object) as long as the GUI is being used. The only other way I know how to do that is to have the script poll the GUI and terminate when the GUI does and I was hoping to avoid that.

SonyPJM wrote on 10/7/2003, 9:55 AM
Yea... it boils down to the fact that, for now, a script cannot run at
the same time the user interacts with the app. Even if you do poll your
gui in the script, you won't be able to interact with the app (other
than to cancel a render in progress). This limitation is something we
hope to address in a future release so please stay tuned.
jbittner wrote on 10/7/2003, 12:19 PM
Great. The ability to run scripts is powerful, but the ability to extend the GUI opens a wealth of possibilities. I can understand, though, that the ability to bolt on another GUI while maintaining the integrety of the Vegas application is not a trivial task.

Thanks for your help