IE Interface wizard for scripts

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
This topic is 16 years and 2 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
ronkupper
Posts: 6
Last visit: Tue Mar 25, 2008 7:25 am

IE Interface wizard for scripts

Post by ronkupper »

Hello,
Just a little idea of mine -
IE can be beautifully used as a Graphical Interface for scripts.
It's a neat technique using the "InternetExplorer.Application" object to dynamically create (usually seamless) IE windows and continually reading/updating them - ala GUI! :-)
(Check out -
http://nerds-central.blogspot.com/2007/ ... cript.html
http://www.jansfreeware.com/articles/vbs-forms.html)

Wouldn't it be great if PrimalScript could offer a wizard to dynamically create the code for an IE based GUI for VBScript,JScript,PowerShell,etc..?

Maybe even allow users to drag & drop/Draw their own controls AND attach code to them ;P

What a fine way to bring current scripting knowledge to a whole new exciting level of functionality, isn't it!?

Best Regards,

Ron Kuper
ronkupper@gmail.com


Edit -
HTA is also a good option.
nice example for an HTA wrapper for vbscript -


(from http://heidelbergit.blogspot.com/2007/0 ... elias.html)
ronkupper2008-03-11 15:48:07
User avatar
donj
Posts: 416
Last visit: Thu May 29, 2008 5:08 am

IE Interface wizard for scripts

Post by donj »

For VBScript or JScript users, HTAs offer a much more sophisticated way of leveraging HTML to create a GUI. For PowerShell, WinForms accomplishes much the same thing. It's significantly less awkward and more flexible than using the InternetExplorer.Application object, and enables you to use event-driven programming rather than a loop to continually check for input (for example).

Just in case you're interested :). We have a forum for HTAs (and PowerShell, for that matter) on ScriptingAnswers.com; "Advanced VBScript for Windows Administrators" (MS Press) covers HTAs, too. "Windows PowerShell: TFM (2nd Edition)" covers using WinForms in PowerShell. HTAs/WinForms were specifically designed to do this, though, and they're quite powerful.

(BTW, I realize you mention HTAs - just wanted to point that out for other folks; HTAs don't utilize InternetExplorer.Application). donj2008-03-11 15:52:56
User avatar
ronkupper
Posts: 6
Last visit: Tue Mar 25, 2008 7:25 am

IE Interface wizard for scripts

Post by ronkupper »

But.... do you have a wizard? :O

Thanks for replying!!
User avatar
donj
Posts: 416
Last visit: Thu May 29, 2008 5:08 am

IE Interface wizard for scripts

Post by donj »

There's no wizard for producing HTAs; it's on our wish list - it's been requested by others, too :). It'd more likely take the form of a graphical forms editor, as you suggested, than a "wizard," since I imagine there would be a need to go back and edit a form and then re-produce the code.
User avatar
ronkupper
Posts: 6
Last visit: Tue Mar 25, 2008 7:25 am

IE Interface wizard for scripts

Post by ronkupper »

Great you are the best!!
This topic is 16 years and 2 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked