What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » "Live" Scripting Interface: Creating an instance of an ActiveX object

"Live" Scripting Interface: Creating an instance of an ActiveX object
Author: Message:
rh
Full Member
***


Posts: 115
– / Male / –
Joined: Mar 2003
O.P. "Live" Scripting Interface: Creating an instance of an ActiveX object
hi!

I have an old plugin I want to port to the new scripting interface as soon as Plus Live is out. In this old plugin, I use a Windows Media Player object to playback sound, midi, streams, videos, etc.pp.

Now I wonder: Will there be a way to get an instance of windows media player as an object into the scripting interface? of course, I could pack the activeX object into a DLL and call that DLL using Interop:Call, but that would be quite ugly...

Anyone have an advice for me? Thanks a lot!

Regards,
Rupert
06-17-2006 05:22 PM
Profile E-Mail PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: "Live" Scripting Interface: Creating an instance of an ActiveX object
Use the MsgPlus.PlaySound() function...
06-17-2006 05:28 PM
Profile PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: "Live" Scripting Interface: Creating an instance of an ActiveX object
jscript has an ActiveXObject class you know :p
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
06-17-2006 05:32 PM
Profile PM Web Find Quote Report
rh
Full Member
***


Posts: 115
– / Male / –
Joined: Mar 2003
O.P. RE: "Live" Scripting Interface: Creating an instance of an ActiveX object
errm, this only plays local sounds. but I want all the flexibility of Windows Media, like playing internet streams, sound files from LAN shares, etc. and all the formats like WMA, MIDI etc.

quote:
Originally posted by ShawnZ
jscript has an ActiveXObject class you know :p


ah... err... nice :D
I have never realized this. probably because until now i have used jscript only in HTML files and there i got my activeX objects through <object>.

Well, thanks a lot, this should (if everything works well) make the port quite straightforward.

regards,
rh
06-17-2006 05:33 PM
Profile E-Mail PM Find Quote Report
« 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