servertech (Peter)
September 6th, 2003, 09:43 AM
Hello,
I don't know if anyone else has come across this (I searched for an answer and didn't find anything) so I thought I would post this in case it helps someone else.
I wanted to start various Windows Media Player 9.0's playlists based on numbers with my turtlebeach remote control. I discovered I could do an EXECUTE of wmplayer.exe with "/playlist MyPlayListName" but that only worked with playlists I created.
Then I discovered that I could send a command to fire off any of the playlists (including autogenerated ones) using:
Add Command (rename "Quick Access Panel")
- COMMAND: Left Click (WParam=0, LParam=4980815)
- TARGET:
Name: Windows Media Player
Class Name: WMPlayerApp
Executable: wmplayer.exe
Child Name: WMPAppHost
Child Class: WMPAppHost
Add Command (rename "All Music") <-- Example to do "All Music" playlist
- KEYBOARD: sentence "m" using Alternative proc.
- TARGET:
Name: Windows Media Player
Class Name: WMPlayerApp
Executable: wmplayer.exe
Hope this helps anyone looking for playlist control.
Peter.
I don't know if anyone else has come across this (I searched for an answer and didn't find anything) so I thought I would post this in case it helps someone else.
I wanted to start various Windows Media Player 9.0's playlists based on numbers with my turtlebeach remote control. I discovered I could do an EXECUTE of wmplayer.exe with "/playlist MyPlayListName" but that only worked with playlists I created.
Then I discovered that I could send a command to fire off any of the playlists (including autogenerated ones) using:
Add Command (rename "Quick Access Panel")
- COMMAND: Left Click (WParam=0, LParam=4980815)
- TARGET:
Name: Windows Media Player
Class Name: WMPlayerApp
Executable: wmplayer.exe
Child Name: WMPAppHost
Child Class: WMPAppHost
Add Command (rename "All Music") <-- Example to do "All Music" playlist
- KEYBOARD: sentence "m" using Alternative proc.
- TARGET:
Name: Windows Media Player
Class Name: WMPlayerApp
Executable: wmplayer.exe
Hope this helps anyone looking for playlist control.
Peter.