MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Scripting Questions >> Other COM scripting platforms for Windows
(Message started by: monkeyboi on Mar 13th, 2010, 6:15am)

Title: Other COM scripting platforms for Windows
Post by monkeyboi on Mar 13th, 2010, 6:15am
Hi, all. Just wanted to point out that WSH isn't your only choice for Windows scripting.

There is a special mode of Internet Explorer called Windows HTML Application Host (HTA) that allows you to write Windows applications in HTML. Any COM object under Windows may be accessed by instantiating an ActiveXObject in your JScript. It can be run on all modern Windows systems without installing additional software.

http://msdn.microsoft.com/en-us/library/ms536496%28VS.85%29.aspx

You can even write GUI applications in PHP. PHP-GTK2 uses the same Graphical Toolkit (GTK) used to create the UI in Gnome, FileZilla, and Pidgin. PHP-GTK2 comes bundled with the COM/.NET and SQLite extensions.

http://gtk.php.net/

Title: Re: Other COM scripting platforms for Windows
Post by Peter L Jones on Mar 13th, 2010, 7:12am
Thanks for having a trawl through the scripting messages -- it's not an area I've worked on, so it's good for people to see there are others doing stuff.

Title: Re: Other COM scripting platforms for Windows
Post by monkeyboi on Mar 13th, 2010, 7:22am

on 03/13/10 at 07:12:49, Peter L Jones wrote:
Thanks for having a trawl through the scripting messages -- it's not an area I've worked on, so it's good for people to see there are others doing stuff.


No problem, Peter. I'm a professional Web developer, so scripting comes easily to me. I wrote a small extension library for VMM to automate my vintage Casio setup that users may want to check out. The version posted on the VMM site is already out of date, as I've refined it quite a bit since I submitted it. The files listed here should be up to date:

http://www.madamebutterface.com/

Title: Re: Other COM scripting platforms for Windows
Post by cappy2112 on Mar 21st, 2010, 1:36am

on 03/13/10 at 06:15:20, monkeyboi wrote:
Hi, all. Just wanted to point out that WSH isn't your only choice for Windows scripting.


Python with the Win32 extensions are the easiest way to get access to COM.

AutoIt3 is also another way, and almost as easy as Python. AutoIt's strengths are more in the line of automation, but you can also create GUI's with AutoIt.

Python is more of a general purpose language, and you can do some automation with it. But Autoit was written from the ground up to automate other programs.



MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.