What might this be used for?

Posted by David B on Sat 30 Aug 2003 08:40 PM — 2 posts, 11,884 views.

USA #0
CreateObject: Creates and returns a reference to an Automation object...
USA #1
If you search the forums you will find it used in quite a few places. In general 'Automation Object' is a fansy name for anything that uses COM to let other programs talk to it. The kinds of things you can use this for is to talk to a program you design to work with Mushclient, accessing a database, controlling other programs like WinAmp from inside Mushclient, etc.

I even used it one time in a slightly less than impressive attempt to check on the current position on the Top Mud list of the one I play at by using a COM object that read the HTML data in from inside my script. It didn't work to well though since it took 30-40 second to load the entire page, so Mushclient froze while it was doing this. :(

You also can't do things like creating a window or using other objects that are called 'controls'. A control is usually something like a button or picture, which requires that you not just create it, but that you also have some place to put it after the fact. Mushclient doesn't provide such a thing, so they will either refuse to be created or fail to do anything.

Basically, this is the only means that the scripts provide for talking to other programs, databases, etc. that you may want Mushclient to interact with in some way.