What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support)

UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support)
Author: Message:
Hah
Full Member
***

Avatar
Im in a good mood - take advantage!

Posts: 224
37 / Male / –
Joined: May 2003
O.P. UPDATE: Scripting Host v2 for Messenger Plus! 3
Hey every1,

Just to let you know I've updated vbscript plugin host (Lets call it scripting host). I think I've done enough to raise the major version number from one to two.

This update is a beta version like the first version always was (:p) but hopefully il get this to a release standard.

I have made a simple self extracting installer which will do all the work for most users. Well all except those with a nondefault plugin directory location. This is attached to this post.

Please use the update log and the examples to see what has changed.

The update includes:

  • Old scripts should work find with this version, if they dont, just add a blank  GetPublishInfo sub, that should do the job, i.e.
    code:
    Sub GetPublishInfo
    End Sub
  • New Sub (GetPublishInfo) in vbscripts to allow commands and tags to be listed, with help commands and etc.
  • New 'Helper' class which will help with developing more advanced plugins. It will allow you to change the users friendly name cleanly through the plus api. You will be able to Display Toasts with the full options of the Plus Api. The Helper class is self explanatory, it basically implements everything from the MPPluginConst.bas module for VB6. It also includes two other functions AddCommand and AddTag which can only be called during GetPublishInfo, these functions are what allow you to add commands to the Plus! Menu.
  • Examples have been heavily updated and are a bit more advanced although still do not demostrate the potential power for making a useful plugin quickly
  • Touched up the code to give a huge speed improvement.
  • VBScripts are now loaded on Initialize.
  • Added more error handling, if a script has an error in it, an advanced error dialog will be shown showing the exact error in the script and location etc. Also, an error by one script will not affect all the other scripts, they will continue to run. Also, the error'ed plugin if possible will remain in memory so working functions within the script can still be called
  • NOTE: If an error occurs in GetPublishInfo or a syntax error occurs the script will not be loaded into memory and initialized, however the advanced error dialog will still show you what is wrong with the script.
  • I have removed some ActiveX references and needless untidy code so the dll should be smaller and more reliable.

UPDATE AGAIN: Jscript support has now been added, please see the following post for the new build with JScript.

http://shoutbox.menthix.net/showthread.php?tid=20...d=348297#pid348297

.exe File Attachment: PlugHostV2.exe (54.55 KB)
This file has been downloaded 343 time(s).

This post was edited on 12-17-2004 at 01:15 PM by Hah.
This post was brought to you by Hah!
(and he takes no responsibility for it :p)

[Image: signatures.jpg]

{Current Web Site}
12-17-2004 12:39 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support) - by Hah on 01-21-2004 at 09:42 PM
RE: vbscript plugin host - by lylesback2 on 01-21-2004 at 09:49 PM
RE: vbscript plugin host - by Hah on 01-21-2004 at 10:14 PM
RE: vbscript plugin host - by CookieRevised on 01-21-2004 at 10:34 PM
RE: vbscript plugin host - by Hah on 01-22-2004 at 07:47 AM
RE: vbscript plugin host - by ShawnZ on 02-29-2004 at 11:11 PM
RE: vbscript plugin host - by xl-network on 05-03-2004 at 07:05 PM
RE: vbscript plugin host - by isac on 06-11-2004 at 06:56 AM
RE: vbscript plugin host - by Plik on 06-11-2004 at 09:27 PM
RE: vbscript plugin host - by renio on 06-16-2004 at 11:12 AM
RE: vbscript plugin host - by CookieRevised on 06-16-2004 at 03:38 PM
RE: vbscript plugin host - by robintw on 07-03-2004 at 07:23 PM
RE: RE: vbscript plugin host - by Hah on 07-03-2004 at 08:27 PM
RE: vbscript plugin host - by lepr on 12-01-2004 at 01:05 PM
RE: RE: vbscript plugin host - by Martijn. on 12-01-2004 at 08:17 PM
RE: vbscript plugin host - by CookieRevised on 12-01-2004 at 08:53 PM
RE: vbscript plugin host - by Hah on 12-03-2004 at 12:53 PM
RE: RE: vbscript plugin host - by Martijn. on 12-03-2004 at 04:12 PM
RE: vbscript plugin host - by lepr on 12-03-2004 at 06:12 PM
UPDATE: Scripting Host v2 for Messenger Plus! 3 - by Hah on 12-17-2004 at 12:39 AM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for Messenger Plus! 3 - by L. Coyote on 12-17-2004 at 12:55 AM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for Messenger Plus! 3 - by -dt- on 12-17-2004 at 09:56 AM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for Messenger Plus! 3 - by Hah on 12-17-2004 at 11:20 AM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support - by Hah on 12-17-2004 at 01:13 PM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support - by -dt- on 12-18-2004 at 06:37 AM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support) - by Hah on 12-18-2004 at 11:23 PM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support) - by weedy2887 on 12-18-2004 at 11:45 PM
RE: RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support) - by Martijn. on 12-18-2004 at 11:48 PM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support - by Hah on 04-19-2005 at 10:21 PM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support - by TheGeek on 04-20-2005 at 02:53 PM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support) - by -dt- on 04-20-2005 at 03:07 PM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support) - by BART SIMPSON416 on 04-21-2005 at 05:43 PM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support - by -dt- on 04-21-2005 at 06:06 PM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support) - by BART SIMPSON416 on 04-21-2005 at 06:47 PM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support - by -dt- on 04-22-2005 at 07:44 AM
RE: UPDATED: vbscript plugin host to Scripting Host V2 for MP!3 (with JScript support - by Veggie on 04-24-2005 at 01:48 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