Recommended Posts

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

@ 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

^^ 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

^^ 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

  • 1 month later...
  • 6 months later...

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 by misho421

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

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

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.

mediakeys2vs.jpg

Complicated troubleshooting of Mediakeys is not necessary as I'm happy enough with the first script which is running.

Cheers :yes:

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 by Herby

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 by Herby
  • 4 months later...
  • 2 weeks later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • If someone chooses to continue using SB and therefore goes through the manual intervention in the thread, afterwards the BSOD problem is gone. Whether they then re-enable the task doesn't matter, they're done, though on such machines it might pay to keep it disabled in case the next update (if there is a next) causes the same problem. OTOH, if someone disables SB in the BIOS, the problem is also gone. Incidentally, I noticed that this task exists even on machines that don't support SB. It's just installed across the board...and runs. Doing what on such machines is a little hazy.
    • qBittorrent 5.2.2 by Razvan Serea The qBittorrent project aims to provide a Free Software alternative to µtorrent. qBittorrent is an advanced and multi-platform BitTorrent client with a nice user interface as well as a Web UI for remote control and an integrated search engine. qBittorrent aims to meet the needs of most users while using as little CPU and memory as possible. qBittorrent is a truly Open Source project, and as such, anyone can and should contribute to it. qBittorrent features: Polished µTorrent-like User Interface Well-integrated and extensible Search Engine Simultaneous search in most famous BitTorrent search sites Per-category-specific search requests (e.g. Books, Music, Movies) All Bittorrent extensions DHT, Peer Exchange, Full encryption, Magnet/BitComet URIs, ... Remote control through a Web user interface Nearly identical to the regular UI, all in Ajax Advanced control over trackers, peers and torrents Torrents queueing and prioritizing Torrent content selection and prioritizing UPnP / NAT-PMP port forwarding support Available in ~25 languages (Unicode support) Torrent creation tool Advanced RSS support with download filters (inc. regex) Bandwidth scheduler IP Filtering (eMule and PeerGuardian compatible) IPv6 compliant Available on most platforms: Linux, Mac OS X, Windows, OS/2, FreeBSD qBittorrent 5.2.2 changelog: FEATURE: Use D-Bus to show file in file managers (Chocobo1) #24340 BUGFIX: Fix friendlyUnitCompact precision calculation (vafada) #24323 BUGFIX: Remove all top-level folders (glassez) #24333 BUGFIX: Use proper API for checking exit status (Chocobo1) #24349 BUGFIX: Delete stale lockfile when hostname mismatch (TurboTheTurtle, glassez) #24363 BUGFIX: Fix wrong removal procedure of watched folder paths (Chocobo1) #24413 BUGFIX: Don't reannounce before interface changes are applied (glassez) #24447 BUGFIX: Use Latin script for Bosnian locale name (Andy Ye) #24342 WEBUI: Fix performance of global checkbox toggling (tehcneko) #24316 WEBUI: Fix Safari transfer list header misalignment (Piccirello) #24377 WEBUI: Fix error when submitting magnet before metadata loads (Piccirello) #24378 WEBUI: Use correct row id when updating Rss Downloader feed selection (Chocobo1) #24402 WEBUI: Use SameSite=Lax for session cookie to fix cross-site login (Piccirello) #24422 WEBUI: Bring back properties panel expand/collapse button (vafada) #24430 WEBAPI: Only use X-Forwarded-Host header when reverse proxy support is enabled (Chocobo1) #24457 RSSS: Fix "RSS Smart Episode Filter" RegEx (nathanon-akk, glassez) #24398 RSS: Fix previously matched episode format (glassez) #24452 WINDOWS: Fix Python fallback search path (TurboTheTurtle) #24325 WINDOWS: NSIS: Allow to install x64 binary on ARM64 (Chocobo1) #24358 Download: qBittorrent 5.2.2 | 41.1 MB (Open Source) Download: qBittorrent 64-bit installer (qt6) | 43.6 MB Links: qBittorrent Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Weechat. https://weechat.org/
    • they should stop making bad games that no one asked for
  • Recent Achievements

    • Veteran
      branfont went up a rank
      Veteran
    • Reacting Well
      Almohandis earned a badge
      Reacting Well
    • First Post
      Cosminus earned a badge
      First Post
    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      485
    2. 2
      +Edouard
      184
    3. 3
      PsYcHoKiLLa
      126
    4. 4
      Steven P.
      87
    5. 5
      neufuse
      72
  • Tell a friend

    Love Neowin? Tell a friend!