What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » VBScript & JScript

Pages: (2): « First [ 1 ] 2 » Last »
VBScript & JScript
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. VBScript & JScript
I've been thinking (pretty rare eh); in HTML pages, JScript and VBScript can run side-by-side. Can this be done easily within Plus!, like through a VBScript engine that has its own ActiveX control?

Oh and happy new year everyone!

This post was edited on 12-31-2009 at 07:38 PM by SmokingCookie.
12-31-2009 07:37 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: VBScript & JScript
If you were to design a Plugin system I am sure you could make it work.
12-31-2009 07:52 PM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: RE: VBScript & JScript
quote:
Originally posted by matty
If you were to design a Plugin system I am sure you could make it work.

That was one of my first thoughts too, yet I have absolutely no idea where to begin. :S
What exactly do you mean with "Plugin system"..?
12-31-2009 07:57 PM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: VBScript & JScript
There already is an ActiveX to do it, "MSScriptControl.ScriptControl". Enjoy :P
12-31-2009 07:58 PM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: VBScript & JScript
Well, I think that'll make it a little easier :P

The page at MSDN says there's very little documentation on the ScriptControl object, so I'm afraid I'll need to come back to this topic some time..

Anyway, thank you for this link, I'll see if I get some of it :P
Grtz

EDIT: cool (H) I've managed to expose the MsgPlus object to the VBScript engine and display a toast through a .vbs file. Pretty useless, but hey, it's a start :P
01-01-2010 11:07 AM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: VBScript & JScript
Well, I'm almost done writing the plug-in system. However, is it possible that the MSScriptControl.ScriptControl object is not available on all machines?

This post was edited on 01-22-2010 at 07:56 PM by SmokingCookie.
01-22-2010 07:56 PM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: VBScript & JScript
quote:
Originally posted by SmokingCookie
Well, I'm almost done writing the plug-in system. However, is it possible that the MSScriptControl.ScriptControl object is not available on all machines?

Well, Plus! uses the script control I believe (not sure if it uses the activex, but it definitely uses WSH), so if it wasn't available, then Plus! scripts wouldn't work at all, so this is not really a problem :P
01-22-2010 08:09 PM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: VBScript & JScript
So the ActiveX is always available...?
01-22-2010 08:13 PM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: VBScript & JScript
quote:
Originally posted by SmokingCookie
So the ActiveX is always available...?

As far as I know, yes. The script control (msscript.ocx) is part of WSH which is installed with Windows afaik. If WSH isn't installed then your script will never load so it shouldn't be a problem.

Edit: I mean your script will never load as in Plus!'s scripting system won't work, not your script specifically, this is rather awkward to word :P

This post was edited on 01-22-2010 at 08:23 PM by Eljay.
01-22-2010 08:22 PM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: VBScript & JScript
I got it :P

All there's left to do, is finding a way to relay window events to the plug-in system *-)
01-22-2010 08:26 PM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


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