mIRC Home    About    Download    Register    News    Help

Print Thread
WMPlayer.OCX #202898 02/08/08 01:27 AM
Joined: Jan 2006
Posts: 468
symphony Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2006
Posts: 468
I know WMPlayer.OSX is a bada$$ object and I just can't seem to find a proper documentation on how to manipulate it through mIRC. Anyone ever have?
Basically, I am trying to make a Play/Pause/Stop/Next/Previous alias to manipulate windows media player.

Anyone ever played with it?

Re: WMPlayer.OCX [Re: symphony] #202903 02/08/08 05:39 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
You can't use it to manipulate an existing centralized player, you can only create a new instance from the way I've been able to use it, so that makes it kind of useless for play control.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: WMPlayer.OCX [Re: argv0] #202910 02/08/08 12:55 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
I've used it a lot and this is indeed the case. There's no way to load the settings/playlists/etc from WMP either unless you manually create all of the playlists and add the files yourself.

And it's slow as molasses compared to /splay and other built in commands.

Edit:

Sparkle, if you still want to take a look knowing the above, the official documentation is here - http://msdn.microsoft.com/en-us/library/bb249259(VS.85).aspx - but it will require some prior $com knowledge otherwise you won't know what is meant by the terms used, like "object", "method", "property", etc.

Last edited by hixxy; 02/08/08 12:57 PM.