Well, it ain't easy, but it can be done. See this dialog mock-up:
Deshaker Dialog in Vegas
If you run this in Vegas, you'll see a "familiar" dialog (if you have used Deshaker). It doesn't do anything yet (only OK and Cancel are connected). (Actually, I may not use it -- I have a better way to achieve the objective of user interaction with Deshaker).
How did I do this (without spending several days)?
I created this in Visual Studio. I then took the Form text file and ran it through a single Microsoft Word macro that "fixed up" all the differences between VB and jscript. That was about it.
The only thing that I was unable to figure out is whether there is a jscript equivalent for the AddRange command so that I can add all controls at once, as in this line (which you will see commented out in the code):
If this is useful for anyone, I'd be happy to post the Word macro. It still requires some manual touch-up and, of course, you still have to hook up the code to the program, but at least it lets me create dialogs quickly, using an interactive GUI tool.
Very nice for simple projects.
Deshaker Dialog in Vegas
If you run this in Vegas, you'll see a "familiar" dialog (if you have used Deshaker). It doesn't do anything yet (only OK and Cancel are connected). (Actually, I may not use it -- I have a better way to achieve the objective of user interaction with Deshaker).
How did I do this (without spending several days)?
I created this in Visual Studio. I then took the Form text file and ran it through a single Microsoft Word macro that "fixed up" all the differences between VB and jscript. That was about it.
The only thing that I was unable to figure out is whether there is a jscript equivalent for the AddRange command so that I can add all controls at once, as in this line (which you will see commented out in the code):
That does not work in jscript, and I spent several hours trying all sorts of variations. I finally concluded that this structure can only be used to fill arrays in jscript and that, for some reason, it doesn't work to populate dialogs, even though the Add() method works just fine.
GroupBox1.Controls.AddRange(new Control() {AppendFile, LogFile, Label3, RollingShutter, VideoType, Label2, SourcePixelAspect, Label1});
If this is useful for anyone, I'd be happy to post the Word macro. It still requires some manual touch-up and, of course, you still have to hook up the code to the program, but at least it lets me create dialogs quickly, using an interactive GUI tool.
Very nice for simple projects.