Home Download Screenshots Wiki Plugins Translations Developers Donate Forums/Help Contact Us |
StrokeIt
Windows Media PlayerPosted by Benorn
ehh... Windows Media Player sux is the problem.. Use Media Player classic - it is more agreeable. But I don't know if you could make WMP play/pause based on your minimizing it - More likely you would write a gesture that toggles minimize/maximize and play/pause at the same time. Shouldn't be too hard since space *should* pause on any respectable media player. ^_^;
I've been searching for the WParam that plays the next song in my playlist, and I came across this list that has pretty much everything I'd ever want to gesture in Windows Media Player. They'll all take the form:
WinMsg - post Message Search by window Title "Windows Media Player" (w/o the quotes) Message ID: 0x111 (That's wmp's equivalent to WM_COMMAND, I now know) WParam: [see the list below] LParam: 0 (Full article at http://www.autohotkey.com/forum/topic8566.html ) WParams: 16000 - Go to "Now Playing" 16001 - Go to "Guide" 16002 - Go to "Service Task 1" This is the "Music" tab on my player 16003 - Go to "Rip" 16004 - Go to "Library" 16005 - Go to "Service Task 3" This is the "Video" tab on my player 16006 - Go to "Burn" 16007 - Go to "Sync" 16008 - Go to "Service Task 2" This is the "Radio" tab on my player 16009 - Skin Chooser 18724 - Rip Audio CD Doesn't do anything if media is playing 18777 - "Rip" tab 18779 - Open "Properties" dialog RC=FAIL. Use 32779 or PostMessage 18780 - View Full Mode 18781 - View Compact Mode 18782 - Full screen (toggle) 18783 - Show/Hide Playlist (toggle) 18787 - Show/Hide Media Information (toggle) 18789 - Show/Hide Enhancements (toggle) 18791 - Show/Hide Title (toggle) 18799 - Video Size: 50% 18800 - Video Size: 100% 18801 - Video Size: 200% 18802 - Video Size: Fit Video to Player on Resize (toggle) 18805 - Video Size: Fit Player to Video on Start (toggle) 18808 - Play/Pause Track (toggle) 18809 - Stop 18810 - Previous Track 18811 - Next track 18812 - Rewind Only works on video? 18813 - Fast Forward (toggle) 18815 - Volume: Up 18816 - Volume: Down 18817 - Volume: Mute (toggle) 18824 - View Privacy Statement Link to external web page 18825 - Open "Options" dialog RC=FAIL. Use 32825 or PostMessage 18826 - Open "Windows Media Player Help" 18834 - Play Speed: Fast 18835 - Play Speed: Normal 18836 - Play Speed: Slow 18842 - Shuffle (toggle) 18843 - Repeat (toggle) 18846 - Download: Visualizations Link to external web page 18849 - Open "Add to Library by Searching Computer" dialog RC=FAIL. Use 32849 or PostMessage 18850 - Open "Monitory Folders" dialog RC=FAIL. Use 32850 or PostMessage 18861 - Open "File Open" dialog RC=FAIL. Use 32861 or PostMessage 18862 - Open "Open URL" dialog RC=FAIL. Use 32862 or PostMessage 18871 - Open "Manage Licenses" dialog RC=FAIL. Use 32871 or PostMessage 18872 - Open "Open URL" dialog (Same as 18862?) RC=FAIL. Use 32862 or PostMessage Codes 18880 to ????? causes WMP to crash. RC=FAIL or RC=0. Haven't tried PostMessage 18889 - Save "Now Playing List" As RC=FAIL. Use ????? or PostMessage 18904 - Work Offline (toggle) 18907 - Burn Audio CD 18909 - Synchronize 18794 - Open "Statistics" dialog 19102 - Print Label Not sure when this is available 19011 - Open "Save As" dialog RC=FAIL. Use ????? or PostMessage 19013 - Save "Now Playling List" 19014 - New "Now Playing List" 19141 - Windows Media Player Online Link to external web page 19142 - Download: Supported Devices and Drivers Link to external web page 19143 - Download: Skins Link to external web page 19160 - Troubleshooting Link to external web page 19200 - Info Center View (Under "Now Playing" tab) 19230 - Display "Quiet Mode" Shows "Enhancements" window 19231 - Display "Color Chooser" Shows "Enhancements" window 19232 - Display "Crossfading and Auto Volume Leveling" Shows "Enhancements" window 19233 - Display "Graphic Equalizer" Shows "Enhancements" window 19234 - Display "Media Link for E-Mail" Shows "Enhancements" window 19235 - Display "Play Speed Settings" Shows "Enhancements" window 19236 - Display "SRS WOW Effects" Shows "Enhancements" window 19237 - Display "Video Settings" Shows "Enhancements" window 19497 - Download Plug-ins Link to external web page 19498 - Open Plug-ins Options dialog 19500 - DVD: Root Menu 19501 - DVD: Title Menu Returns 1 if menu is not available (?) 19502 - DVD: Close Menu (Resume) 19503 - DVD: Back 19572 - Update DVD Information RC=FAIL. Use ????? or PostMessage 19681 - DVD, VCD or CD Audio 19721 - Show Menu Bar 19722 - Hide Menu Bar 19723 - Autohide Menu Bar 19724 - Hide Taskbar (toggle) 19998 - Download: Plug-ins Link to external web page 19999 - Open Plug-ins Options dialog RC=FAIL. Use 19498 or PostMessage 26000 - Services List 32777 - Info Center View (Under "Now Playing" tab) 32779 - Open "Properties" dialog 32780 - View Full Mode 32781 - View Compact Mode 32782 - Full screen (toggle) 32783 - Show/Hide Playlist (toggle) 32787 - Show/Hide Media Information (toggle) 32789 - Show/Hide Equilizer (toggle) 32791 - Show/Hide Title (toggle) 32794 - Open "Statistics" dialog 32797 - *** Locks up WMP & eats up CPU. Don't know why *** 32798 - *** Locks up WMP & eats up CPU. Don't know why *** 32805 - "Music" tab 32806 - "Library" tab 32808 - Play/Pause Track (toggle) 32809 - Stop 32810 - Previous Track 32811 - Next Track 32813 - Fast Forward (toggle) 32815 - Volume Up 32816 - Volume Down 32817 - Volume Mute (toggle) 32824 - Link to Privacy Statement (web) 32825 - Open "Options" dialog 32826 - Open "Windows Media Player Help" 32834 - Play Speed: Fast 32835 - Play Speed: Normal 32836 - Play Speed: Slow 32842 - Shuffle (toggle) 32843 - Repeat (toggle) 32846 - Download: Visualizations Link to external web page 32849 - Open "Add to Library by Searching Computer" dialog 32850 - Open "Monitory Folders" dialog 32861 - Open "File Open" dialog 32862 - Open "Open URL" dialog 32871 - Open "Manage Licenses" dialog 32872 - Open "Open URL" dialog (Same as 32862?) Codes 32880 to ????? causes WMP to crash. RC=FAIL or RC=0. Haven't tried PostMessage. 57601 - Open "File Open" dialog RC=FAIL. Use 32861 or PostMessage 57602 - File Close 57665 - Exit
|