What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Announcements » Announcements & News » Archive » I'm alive!

2 votes - 4.5 average   I'm alive!
Author: Message:
ginge
Senior Member
****

Avatar
BetterMSN Author

Posts: 562
42 / Male / –
Joined: May 2002
Status: Away
Scripting should NOT be optional in anyway - it defeats the whole point of doing scripting and moving many functions of Plus! into script. Either have script or don't, but just as a program wide decision.

To create a script in VBScript or JScript that uses a GUI you would need create your own GUI COM object that supplies all the methods you want - calling the Windows API doesn't work too well, and creating a message loop would make most people give up and shoot themselves.

One solution I have used before is to supply a COM object with the necessary functionality to create a window object that is actually an instance of IE's HTML object. This way you can use CSS, DHTML and HTML as the GUI, which is pretty much all powerful, and users can apply their own styles, which always looks nice.


//Sample of how to display a dialog
var NewWindow = Patchou.CreateWindow(100, 200); //100px by 200px
NewWindow.Write("<html><body>MSN Plus! Dialog box</body></html>");


The other way is to completely encapsultate all the window functionality you need in a COM object, or find one that has this already done this (I know the Forms 2 library with Office has already done this, but I think you can only access it from Office).

Maybe the middle ground is too have a C++/C binding for MP, and have it look for all dll files in some directory on startup or when you press "find new plugins". From this you could then write a script plugin, just as a C++ plugin, and leave the GUI decisions for later.

Then again you could give up on scripting as just too hard - depends how much you like playing with COM really.
09-30-2002 10:34 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
I'm alive! - by Patchou on 09-22-2002 at 03:31 AM
[no subject] - by Chrono on 09-22-2002 at 03:54 AM
[no subject] - by shine on 09-22-2002 at 04:50 AM
[no subject] - by WDZ on 09-22-2002 at 05:10 AM
[no subject] - by Chrono on 09-22-2002 at 05:18 AM
[no subject] - by WDZ on 09-22-2002 at 05:29 AM
[no subject] - by Muss on 09-22-2002 at 09:01 AM
[no subject] - by reisyboy on 09-22-2002 at 10:30 AM
[no subject] - by freakenstine on 09-22-2002 at 04:05 PM
Wow - by Patchou on 09-23-2002 at 02:57 AM
[no subject] - by shine on 09-23-2002 at 04:37 AM
[no subject] - by Muss on 09-23-2002 at 11:18 AM
I don't care! - by oxtie on 09-23-2002 at 12:28 PM
[no subject] - by Patchou on 09-23-2002 at 02:22 PM
[no subject] - by gisteren on 09-23-2002 at 02:40 PM
[no subject] - by freakenstine on 09-23-2002 at 03:42 PM
Hail the mighty Patchou!!!! ;) - by Menthix on 09-23-2002 at 06:45 PM
[no subject] - by Menthix on 09-23-2002 at 07:14 PM
[no subject] - by Johnny_Mac on 09-23-2002 at 08:33 PM
[no subject] - by WDZ on 09-23-2002 at 08:49 PM
[no subject] - by reisyboy on 09-23-2002 at 09:20 PM
[no subject] - by shine on 09-24-2002 at 05:58 AM
[no subject] - by Chrono on 09-25-2002 at 04:15 PM
[no subject] - by Patchou on 09-25-2002 at 07:57 PM
[no subject] - by Chrono on 09-27-2002 at 04:00 AM
[no subject] - by Menthix on 09-27-2002 at 09:51 AM
[no subject] - by Patchou on 09-27-2002 at 01:28 PM
This one if no fake - by Patchou on 09-28-2002 at 04:30 AM
[no subject] - by shine on 09-28-2002 at 05:57 AM
[no subject] - by Johnny_Mac on 09-28-2002 at 11:06 AM
[no subject] - by Patchou on 09-28-2002 at 07:43 PM
[no subject] - by WDZ on 09-28-2002 at 08:28 PM
[no subject] - by reisyboy on 09-28-2002 at 09:58 PM
[no subject] - by WDZ on 09-28-2002 at 10:02 PM
[no subject] - by Patchou on 09-29-2002 at 04:30 AM
[no subject] - by WDZ on 09-29-2002 at 05:10 AM
French translation - by Misterjad on 09-29-2002 at 08:04 AM
[no subject] - by Menthix on 09-29-2002 at 11:53 AM
[no subject] - by Patchou on 09-29-2002 at 05:29 PM
[no subject] - by Misterjad on 09-29-2002 at 06:35 PM
[no subject] - by Menthix on 09-29-2002 at 07:31 PM
[no subject] - by ginge on 09-29-2002 at 07:57 PM
[no subject] - by reisyboy on 09-29-2002 at 08:23 PM
[no subject] - by WDZ on 09-29-2002 at 08:37 PM
[no subject] - by Johnny_Mac on 09-29-2002 at 08:53 PM
[no subject] - by Misterjad on 09-29-2002 at 08:56 PM
[no subject] - by Johnny_Mac on 09-29-2002 at 09:00 PM
[no subject] - by Menthix on 09-29-2002 at 09:14 PM
[no subject] - by Patchou on 09-30-2002 at 12:02 AM
Important... - by Patchou on 09-30-2002 at 12:08 AM
[no subject] - by WDZ on 09-30-2002 at 12:21 AM
[no subject] - by Chrono on 09-30-2002 at 01:00 AM
[no subject] - by Muss on 09-30-2002 at 02:15 AM
[no subject] - by ··¤(`×[¤kår(v)å¤]×´)¤·· on 09-30-2002 at 04:05 AM
[no subject] - by Johnny_Mac on 09-30-2002 at 07:45 AM
[no subject] - by shine on 09-30-2002 at 09:43 AM
[no subject] - by ginge on 09-30-2002 at 10:34 AM
[no subject] - by Patchou on 09-30-2002 at 01:56 PM
[no subject] - by ··¤(`×[¤kår(v)å¤]×´)¤·· on 09-30-2002 at 02:42 PM
[no subject] - by shine on 09-30-2002 at 02:56 PM
[no subject] - by ginge on 09-30-2002 at 03:30 PM
[no subject] - by Menthix on 09-30-2002 at 08:18 PM
[no subject] - by Patchou on 09-30-2002 at 08:58 PM
[no subject] - by Menthix on 10-01-2002 at 12:05 AM
[no subject] - by alvarezp on 10-01-2002 at 06:20 AM
[no subject] - by Patchou on 10-01-2002 at 01:52 PM
[no subject] - by Johnny_Mac on 10-01-2002 at 01:58 PM
[no subject] - by Menthix on 10-01-2002 at 02:22 PM
[no subject] - by Patchou on 10-01-2002 at 03:53 PM
[no subject] - by reisyboy on 10-01-2002 at 06:23 PM
[no subject] - by Menthix on 10-01-2002 at 08:00 PM
[no subject] - by Johnny_Mac on 10-01-2002 at 08:02 PM
[no subject] - by Gergith on 10-01-2002 at 08:33 PM
[no subject] - by Patchou on 10-01-2002 at 11:53 PM
[no subject] - by Gergith on 10-02-2002 at 12:31 AM
[no subject] - by Muss on 10-02-2002 at 01:33 AM
[no subject] - by shine on 10-02-2002 at 04:42 AM
[no subject] - by shine on 10-02-2002 at 05:24 AM
[no subject] - by Menthix on 10-02-2002 at 10:27 AM
[no subject] - by Johnny_Mac on 10-02-2002 at 12:47 PM
[no subject] - by Menthix on 10-02-2002 at 01:03 PM
Security - by Patchou on 10-02-2002 at 01:55 PM
[no subject] - by ginge on 10-02-2002 at 03:55 PM
[no subject] - by Patchou on 10-02-2002 at 05:10 PM
[no subject] - by ginge on 10-02-2002 at 05:23 PM
[no subject] - by Menthix on 10-02-2002 at 06:03 PM
[no subject] - by Patchou on 10-02-2002 at 07:15 PM
[no subject] - by shine on 10-03-2002 at 04:42 AM
[no subject] - by Johnny_Mac on 10-03-2002 at 03:07 PM
[no subject] - by Chrono on 10-05-2002 at 02:01 AM
[no subject] - by Patchou on 10-05-2002 at 05:24 AM
[no subject] - by surfichris on 10-05-2002 at 11:58 AM
[no subject] - by Kabubi on 10-17-2002 at 09:02 PM
[no subject] - by Patchou on 10-17-2002 at 09:04 PM
[no subject] - by reisyboy on 10-17-2002 at 09:25 PM
[no subject] - by Johnny_Mac on 10-17-2002 at 09:41 PM
[no subject] - by Menthix on 10-17-2002 at 10:59 PM
[no subject] - by Add on 10-17-2002 at 11:01 PM
[no subject] - by WDZ on 10-17-2002 at 11:16 PM
[no subject] - by Menthix on 10-17-2002 at 11:33 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On