PDA

View Full Version : Windows Media Player Command Codes



pghosh
September 5th, 2003, 12:48 AM
I have compiled a list of WParam codes for Windows Media Player 9. If any one has any more please add them to this list.
Thanks,
Peter

84257 Properties
84313 Copy from CD
84315 Properties
84316 Full Mode
84317 Skin mode
84318
84319 Now Playing
84323 Toggle Media Information
84325 Toggle Graphic Equalizer
84326 Toggle Resize Bars
84327 Toggle Title
84330 Statics
84344 Play/Pause
84345 Stop
84346 Prev
84347 Next
84348 Rew
84349 Ffd
84351 Volume Up
84352 Volume Down
84353 Mute
84360 Privacy Statement
84361 Options
84362 Help
84363 Check for update
84370 Play speed fast
84371 Play speed normal
84372 Play speed slow
84378 Shuffle
84379 Repeat
84382 Download Visualizations
84385 Add to Media Library
84386 Monitor Folders
84397 Open
84398 Open URL
84407 License Management
84416 Recent File 1
84417 Recent File 2
84418 Recent File 3
84419 Recent File 4
84420 Recent File 5
84421 Recent File 6
84422 Recent File 7
84423 Recent File 8
84424 Recent File 9
84425 Save As
84443 Copy To CD
84445 Copy To Device
84446 Visualization

Raptor235
October 31st, 2003, 11:29 AM
sorry for the newbie question but how can I apply those when controling wmp?

Santa
December 18th, 2003, 03:18 AM
sorry for the newbie question but how can I apply those when controling wmp?

Add a Command

Choose Command Window -> set the Dropdown menu to Command -> fill in the WParam for the function you wan't to use (LParam is 0) -> Set target to wmplayer.exe in executable

thewhizard
August 11th, 2004, 12:52 PM
how do you get these values?

danward79
August 11th, 2004, 02:09 PM
The way i get them is by going to the command tab, then capture.

Then go to the app you want the command for, do the action in the app and girder captures what you did, on the capture screen.

Use the data in the cature window to get what you want.

Dan

thewhizard
August 12th, 2004, 12:01 AM
for media player play I have
61014126
60620909
left click that both work
why are there more then 1 set that work?

danward79
August 12th, 2004, 12:56 PM
Hi

I don't know why you have more than one, you should get a "wparam" and a "lparam"

Hey if they work don't worry! :wink:

Dan

thewhizard
August 14th, 2004, 01:58 AM
the 61014126 60620909 that I got are left click if I resize/move the window they seem to stop working

I'm getting 7 diget left click number

how do you get 5 digdet system number?

danward79
August 14th, 2004, 07:02 AM
What is the actual command you want? Is it resize?

I will see if I can get it.

Dan

thewhizard
August 14th, 2004, 07:27 PM
here we go

when I start winamp and capture pushing play button I get a "command" like you got above---- which is what I want

when I try the same thing in media player I'm getting a "mouse click" --- which stopps working if window is rezed which is what I don't want


I'm starting to under stand but not sure why I have a media player problem

thewhizard
August 15th, 2004, 12:57 AM
got it - media player responds to contol p - this gives me the wparm command value you got above -

danward79
August 15th, 2004, 03:19 AM
Cool, Do yo mean Media Player Classic, or Windows Media Player?

Dan

danward79
August 15th, 2004, 03:30 AM
Hi again,

Just been trying what you said, I see what you mean about two sets of parameters.

You only need to use the one, that is the command.

Play for winamp, seems to be 40045
Play for Windows Media Player is as per the first post, 84344
Play for Window Media Player Classic is 155

I hope that sheds some light of things...

Dan

danward79
August 15th, 2004, 03:31 AM
If you let me know what commands you want I will see if I can get some. Also what the program is, if I have that is

Dan

rooroo
October 17th, 2004, 04:15 AM
has anyone looked at WMP 10 for the new codes. I am specifically looking for frame advance and slow motion (not just half speed which is ctrl+shift+s)

The is an option under 'enhancemets' for play speed settings.
I'm trying to set these using GIrder but all I get is Leftmouse buttons whoch are not persistent actoss diffeerent instances of WMP.

Looking in te SDK there are some objects for playspeed, specifically...

settings.rate(x) x=0 to 5 (or more) for play speed (can be negaitive for some formats to play backward)
control.step(1) control.step(-1) for frame advance (rewind)

thanks in advance.

rooroo
October 17th, 2004, 04:22 AM
has anyone looked at WMP 10 for the new codes. I am specifically looking for frame advance and slow motion (not just half speed which is ctrl+shift+s)

The is an option under 'enhancemets' for play speed settings.
I'm trying to set these using GIrder but all I get is Leftmouse buttons whoch are not persistent actoss diffeerent instances of WMP.

Looking in te SDK there are some objects for playspeed, specifically...

settings.rate(x) x=0 to 5 (or more) for play speed (can be negaitive for some formats to play backward)
control.step(1) control.step(-1) for frame advance (rewind)

thanks in advance.

rooroo
October 17th, 2004, 09:17 AM
I've done more poking around and I can't see any wParams used for the slowmo/frame adv. features. I guess the way to get these features to work on a remote is to program them using LUA. However I haven't got a clue how to target WMP and write this. Anyone feel like trying out wrting the script?

The information for these commands is on the MSDN website for the Media Player SDK. links for the two commands below.

Control.step
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/controlsstep.asp

slow play
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/settingsrate.asp

Also it would be interesting to know if anyone has tested these commands in MCE player. If so, we know hjave a much better control over functions for the player/recorder.

Thanks in advance

Promixis
October 17th, 2004, 02:00 PM
Those commands won't work the way you want from Girder.

You can use luacom to start and control WMP but its not for the faint of heart...

rooroo
October 18th, 2004, 10:00 AM
Hi Mike
I'm not sure what you mean when you say...



Those commands won't work the way you want from Girder.

You can use luacom to start and control WMP but its not for the faint of heart...


Are you saying (as I assumed)...
As these are not wParams then they can't be called from Girder in a simple way, as such a LUA script has to be written. This is something which is very difficult to do and requires knowledge of both the SDK and LUA programing.

If my understanding is correct, it [u]can[/u ]be done if there is someone who wants to write the LUA script.
R.

Promixis
October 18th, 2004, 12:41 PM
Correct,

You can use lua and luacom and the windows media player com object and do some very neat things with the player. But, its not ideal. I have written a fair bit of code to do this awhile go. If you have a little programming experience you can download the the windows media player sdk and have a look at my code....

JuSK73
January 10th, 2005, 01:27 PM
Hi!

Are these codes proper for WMP 10??

I tried to use them.. but grider didn't work...

Can somebody give me a link to some site in the net.. where the configuration of grider is step by step explained??

Thanks...

Regards...

quixote
January 11th, 2005, 09:28 PM
FYI:


http://www.eweek.com/article2/0,1759,1749993,00.asp

alpak
July 20th, 2005, 09:57 AM
2 JuSK73:

I tried it on WMP10 and basic function as PLAY/PAUSE, NEXT, PREVIOUS, VOLUME (UP/DOWN), STOP goes perfectly. :D

i see some problem with FFD and REW, but for now ..... i set girder in 10 minutes, i wont find where is problem

PS: i post my config for WMP10 but if you want some tutor ...... ???? a think that very very infos were written about setting GIRDER to control the apps

i use girder from early beginnig version and now its very comfortable to setting this up ...... :D