Pegus Posted May 11, 2006 Share Posted May 11, 2006 Does anyone know how to get Global Shortcut Keys for Windows Media Player 10, like they exist in Winamp? I find it annoying having to use the mouse to play/pause etc... Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/ Share on other sites More sharing options...
MarkusDarkus Posted May 11, 2006 Share Posted May 11, 2006 I'm not sure. You could buy a keyboard with media buttons or maybe there is an app or plugin somewhere that would remap the keys to those functions. Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587496678 Share on other sites More sharing options...
Herby Posted May 11, 2006 Share Posted May 11, 2006 Play / Pause - Ctrl+P Stop - Ctrl+S Previous - Ctrl+B Next - Ctrl+F Rewind - Ctrl+Shift+B Fast Forward - Ctrl+Shift+F Shuffle - Ctrl+H Repeat - Ctrl+T Volume Up - F10 Volume Down - F9 Volume Mute - F8 Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587497516 Share on other sites More sharing options...
Pegus Posted May 12, 2006 Author Share Posted May 12, 2006 Thanks, found those keys. But I was more after global keys, which would work even when WMP is not on focus? Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587499080 Share on other sites More sharing options...
Herby Posted May 12, 2006 Share Posted May 12, 2006 I've created a little program that should do the trick. :) With this program you can use the Media Keys without a Media Keyboard. It runs hidden in the background, you can close it with Task Manager. System Requirements: Windows NT/2000/XP. Hotkeys: Launch Media Player - Ctrl+Numpad7 Play / Pause - Ctrl+Numpad8 Stop - Ctrl+Numpad5 Previous - Ctrl+Numpad4 Next - Ctrl+Numpad6 Volume Up - Ctrl+Numpad+ Volume Down - Ctrl+Numpad- Volume Mute - Ctrl+Numpad* MediaKeys.zip Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587500153 Share on other sites More sharing options...
Herby Posted May 12, 2006 Share Posted May 12, 2006 @ request: version without keypad hotkeys :) Hotkeys: Launch Media Player - Ctrl+Home Play / Pause - Ctrl+Up Stop - Ctrl+Down Previous - Ctrl+Left Next - Ctrl+Right Volume Up - Ctrl+PageUp Volume Down - Ctrl+PageDown Volume Mute - Ctrl+Del & Ctrl+End MediaKeys.zip Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587500413 Share on other sites More sharing options...
Pegus Posted May 12, 2006 Author Share Posted May 12, 2006 Sweet dude, it's perfect =) Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587500425 Share on other sites More sharing options...
Herby Posted May 12, 2006 Share Posted May 12, 2006 You're welcome,.. greetings from the other side of the world! :D Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587500451 Share on other sites More sharing options...
giga Veteran Posted May 14, 2006 Veteran Share Posted May 14, 2006 Moved Here Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587505301 Share on other sites More sharing options...
chicaman Posted May 14, 2006 Share Posted May 14, 2006 COOL man for u to create a small program.... Btw Herby, can u create a small program that can show what songs I am listening while playing Gunzonline... Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587505914 Share on other sites More sharing options...
Herby Posted May 16, 2006 Share Posted May 16, 2006 ^^ I've no idea how to do that,.. I'm a tweaker, not a programmer. :) I've created these programs with AutoHotkey, you can create a script and convert it to an executable. Here's another version: MediaMouse With this program you can control the Media Keys with the mouse (no Media Keyboard required). It runs hidden in the background, you can close it with Task Manager. System Requirements: Windows NT/2000/XP. Hotkeys: Win + Left Button : Play / Pause Win + Right Button : Stop Win + Middle Button (wheel) : Mute / UnMute Win + Scroll Up : Volume Up Win + Scroll Down : Volume Down Win + Forward Button : Next Win + Back Button : Previous Created with AutoHotkey (www.autohotkey.com). [/Herby] MediaMouse.zip Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587512882 Share on other sites More sharing options...
chicaman Posted May 18, 2006 Share Posted May 18, 2006 ^^ I've no idea how to do that,.. I'm a tweaker, not a programmer. :) I've created these programs with AutoHotkey, you can create a script and convert it to an executable. Here's another version: MediaMouse With this program you can control the Media Keys with the mouse (no Media Keyboard required). It runs hidden in the background, you can close it with Task Manager. System Requirements: Windows NT/2000/XP. Hotkeys: Win + Left Button : Play / Pause Win + Right Button : Stop Win + Middle Button (wheel) : Mute / UnMute Win + Scroll Up : Volume Up Win + Scroll Down : Volume Down Win + Forward Button : Next Win + Back Button : Previous Created with AutoHotkey (www.autohotkey.com). [/Herby] Haha, i thought u are a programmer.... Anyway thx for the recomendation on the software to create hotkey.... ^^v Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587520522 Share on other sites More sharing options...
one321 Posted June 23, 2006 Share Posted June 23, 2006 Awesome. I'm just starting to use AutoHotKey. It's a very useful, little program. A new version was just released on June 17. Herby, I like your interactive avatar. Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587633989 Share on other sites More sharing options...
Herby Posted June 27, 2006 Share Posted June 27, 2006 It's a great little app, I use it alot to automate tasks, they update it frequently (bug fixes & new commands). About the avatar: I like the way it creates a new snowflake everytime it loads. :) Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-587644843 Share on other sites More sharing options...
misho421 Posted January 13, 2007 Share Posted January 13, 2007 (edited) Hi, this is great stuff, thanks for that. But I have one question here. I used to use Crtl+Pg Up and Crtl+Pg Down for moving between the tabs in Firefox and between the worksheets in Excel, etc... If I run this feature, it takes those shortcuts for volume control. Could you advise please how to change slightly your utility that the shortcuts would be exact the same as a default option in Winamp. I tried to find out how to create my own AutoHotKey utility, but cannot figure it out :unsure: If it wouldn't be for you big deal :rolleyes: I have a suggestion for another combination: Win + Home: Play/Pause Win + End: Stop Win + Delete: Mute/UnMute Win + Up: Volume Up Win + Down: Volume Down Win + Right : Next Win + Left: Previous EDIT: and if I can be so dare ;) I would have some suggestions for basic Roll Wheel Mouse: Win + Left Button : Previous Win + Right Button : Next Win + Middle Button (wheel) : Play / Pause Win + Scroll Up : Volume Up Win + Scroll Down : Volume Down Edited January 13, 2007 by misho421 Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-588222496 Share on other sites More sharing options...
misho421 Posted January 15, 2007 Share Posted January 15, 2007 Ok, I finally made a little script for Windows Media Player to have control using WIN key. Everything is working fine but the volume control. If I use F9, F10 or F8 within the WMP, that controls the volume all right. #Home:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, ^p ; Play or pause a file return #Right:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, ^f; Play next item return #Left:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, ^b; Play previous item return #Up:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, F10; Increase volume return #Down:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, F9; Decrease volume return #Delete:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, F8; Mute volume return #End:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, ^s; Stop playback return Any idea what am I doing wrong? I was wondering if I can control volume not within the WMP but controlling the Volume Control in Windows. I can't figure out what is a code for that. It would be enough if I'm able to increase/decrease WAVE column. And yeah Herby, how can I make EXE which will be running only in processes, but not in task tray? I know I can hide it there, however, I would like to have it ran in processes only. Cheers Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-588228834 Share on other sites More sharing options...
Herby Posted January 22, 2007 Share Posted January 22, 2007 Sorry for the late reply. Wrap the function keys like this: {F9} {F10} :) ControlSend, ahk_parent, {F10} For changing the wave volume you can use SoundSetWaveVolume. For changing various volume settings you can use SoundSet. Add #NoTrayIcon to disable the Tray icon (see the script below). + If you are running Windows 2000 / XP / Vista, you can use MediaKeys. They also work if Windows Media Player is minimized: #NoEnv #NoTrayIcon #KeyHistory 0 #Home:: SendInput, {Blind}{Media_Play_Pause}; Play or pause a file Return #Right:: SendInput, {Blind}{Media_Next}; Play next item Return #Left:: SendInput, {Blind}{Media_Prev}; Play previous item Return #Up:: SoundSetWaveVolume, +10; Increase wave volume 10% Return #Down:: SoundSetWaveVolume, -10; Decrease wave volume 10% Return #Delete:: SendInput, {Blind}{Volume_Mute}; Mute volume Return #End:: SendInput, {Blind}{Media_Stop}; Stop playback Return Cheers, Herby Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-588249225 Share on other sites More sharing options...
misho421 Posted January 22, 2007 Share Posted January 22, 2007 Hi, thanx for reply. the script I made is working, however I'm experiencing little troubles with it. Sometimes it's not responding to sent keystrokes. When I switch active window to the WMP and then back to another widow, it's working again. I have no clue what causes this, but it's not that big deal ;) I've tried to compile an EXE from the script u posted (MediaKeys). I can't run it for some reason, I'm getting below error message. I tried to change some commands within the script, but I wasn't successful. Complicated troubleshooting of Mediakeys is not necessary as I'm happy enough with the first script which is running. Cheers :yes: Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-588249296 Share on other sites More sharing options...
Herby Posted January 22, 2007 Share Posted January 22, 2007 (edited) You can try it with {Blind} before the keys: #NoEnv#NoTrayIcon #KeyHistory 0 #Home:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, {Blind}^p ; Play or pause a file return #Right:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, {Blind}^f ; Play next item return #Left:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, {Blind}^b ; Play previous item return #Up:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, {Blind}{F10} ; Increase volume return #Down:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, {Blind}{F9} ; Decrease volume return #Delete:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, {Blind}{F8} ; Mute volume return #End:: IfWinNotExist ahk_class WMPlayerApp return ControlSend, ahk_parent, {Blind}^s ; Stop playback return Here's the fixed script with the MediaKeys:#NoEnv#NoTrayIcon #KeyHistory 0 #Home:: SendInput, {Blind}{Media_Play_Pause} ; Play or pause a file Return #Right:: SendInput, {Blind}{Media_Next} ; Play next item Return #Left:: SendInput, {Blind}{Media_Prev} ; Play previous item Return #Up:: SoundSetWaveVolume, +10 ; Increase volume Return #Down:: SoundSetWaveVolume, -10 ; Decrease volume Return #Delete:: SendInput, {Blind}{Volume_Mute} ; Mute volume Return #End:: SendInput, {Blind}{Media_Stop} ; Stop playback Return Edit: When I wrap the script in a Code Tag, the spaces before the ; are gone. :wacko: Edited January 22, 2007 by Herby Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-588249375 Share on other sites More sharing options...
Herby Posted January 22, 2007 Share Posted January 22, 2007 (edited) Here's a improved version of MediaMouse (the script is included in the zip file). This program lets you control the Media Keys with the mouse (no Media Keyboard required). It runs hidden in the background, you can close it with Task Manager. It displays the volume level when you change it (tooltip). System Requirements: Windows NT/2000/XP. Hotkeys: Win + Left Button : Play/Pause Win + Right Button : Stop Win + Middle Button (wheel) : Mute/UnMute Win + Scroll Up/Down : Volume Up/Down Win + Forward Button : Next Win + Back Button : Previous Shift + Win + Scroll Up/Down : Wave Volume Up/Down Ctrl + Win + Scroll Up/Down : Bass Level Up/Down Alt + Win + Scroll Up/Down : Treble Level Up/Down MediaMouse.zip Edited January 22, 2007 by Herby Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-588249659 Share on other sites More sharing options...
porjay Posted June 6, 2007 Share Posted June 6, 2007 Thanks so much for this lovely script. You are the man! Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-588606600 Share on other sites More sharing options...
ProiektHat Posted June 21, 2007 Share Posted June 21, 2007 this is a sweet little application...thanks :) that would be grate a shortcut to close WMP Link to comment https://www.neowin.net/forum/topic/459972-wmp-global-shortcut-keys/#findComment-588642058 Share on other sites More sharing options...
Recommended Posts