VBScript & JScript - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: VBScript & JScript (/showthread.php?tid=93388) VBScript & JScript by SmokingCookie on 12-31-2009 at 07:37 PM
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? RE: VBScript & JScript by matty on 12-31-2009 at 07:52 PM If you were to design a Plugin system I am sure you could make it work. RE: RE: VBScript & JScript by SmokingCookie on 12-31-2009 at 07:57 PM
quote: That was one of my first thoughts too, yet I have absolutely no idea where to begin. What exactly do you mean with "Plugin system"..? RE: VBScript & JScript by Eljay on 12-31-2009 at 07:58 PM There already is an ActiveX to do it, "MSScriptControl.ScriptControl". Enjoy RE: VBScript & JScript by SmokingCookie on 01-01-2010 at 11:07 AM
Well, I think that'll make it a little easier RE: VBScript & JScript by SmokingCookie on 01-22-2010 at 07:56 PM 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? RE: VBScript & JScript by Eljay on 01-22-2010 at 08:09 PM
quote: 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 RE: VBScript & JScript by SmokingCookie on 01-22-2010 at 08:13 PM So the ActiveX is always available...? RE: VBScript & JScript by Eljay on 01-22-2010 at 08:22 PM
quote: 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 RE: VBScript & JScript by SmokingCookie on 01-22-2010 at 08:26 PM
I got it RE: VBScript & JScript by matty on 01-22-2010 at 08:52 PM What EllyJelly is trying to say is the Scripting Engine wouldn't work in itself if the control didn't exist or was corrupted on the system. RE: VBScript & JScript by SmokingCookie on 01-22-2010 at 08:58 PM It's quite clear now, thanks for the advice |