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

    • Marshall Major V Bluetooth headphones are now up to 47% off on Amazon by Ivan Jenic The Marshall Major V in Midnight Blue is currently $89.99 on Amazon, down from $169.99. That's 47% off and $80 saved on a pair of wireless on-ear headphones from one of the most recognizable names in audio. The Major V is Marshall's take on a long-lasting everyday headphone. The headphones deliver 100+ hours of wireless playtime, which puts them in a completely different category from most Bluetooth headphones that hover around 30-40 hours. You’re charging this thing once a week at most, and with wireless charging supported, you don’t have to worry about additional cables. Marshall promises its signature sound profile, with strong bass, smooth mids, and clear highs. There’s a customizable M-button, which you can set to quickly access Spotify Tap, your EQ settings, or a voice assistant. The design is foldable and lightweight at 186 grams, so it’s easy to pack for travel. And finally, the faux leather finish gives the Major V a sleek, premium look. At $89.99, the Major V Midnight Blue is a genuinely strong buy for anyone who wants a reliable daily headphone without paying premium prices. It’s also worth mentioning that the Cream and Brown variants are also discounted to $89.99, though from a lower original price of $99.99. Marshall Major V Midnight Blue - $89.99 | 47% off on Amazon This Amazon deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • +1 on XVI. I still use it. 
    • Age 16, old enough to get a full-time job, your own bank account, a passport, get married, even join the military and go to war. But talking to your friends on the internet? Oh hell no!
    • I remember when all games had demos; it was a normal thing, not a limited time promotion.
    • Forza Horizon 6 gets big bug-fixing and balancing update by Taras Buria Today, Playground Games released a big Forza Horizon 6 update with a long list of fixes, patches, and balancing tweaks that the studio promised earlier. Version 375.327 is now available on Steam, Microsoft Store, and Xbox, offering users improvements for AI, audio, design, performance, road discovery, upgrades, visuals, online play, and more. Some of the most notable changes in the Series 2 update include rebalanced drivatars, particularly their difficulty and race start behavior. As such, the game should be more balanced on higher difficulty levels, and AI cars should not shoot out when the race starts as if they have rocket boosters. Speaking of difficulty, developers nerfed Drag Tires physics for a more expected and realistic behavior. They are no longer the go-to option for record-breaking times in road racing, and all leaderboard entries with drag tires will be removed. Completionists will also be glad to get a new feature that lets you see road discovery percentage in each region, which should make discovering all roads easier while keeping it quite challenging and interesting (I spent quite a long time finding the last road). Festival Playlist is also getting some much-needed fixes, including patches for bugs that allowed completing Seasonal Jobs ahead of time or where weekly challenges would not unlock for some players. Developers will retroactively give reward points to all who could not complete all challenges due to these bugs. Other changes include changes to Horizon Play progression so that it is easier to reach Level 100, audio improvements on lower-spec devices, fixes for visual glitches, including pixelated smoke, and more. Developers also addressed the currently non-working Eliminator, an online mode gamers used to farm credits with a Hummer EV exploit. Playground Games plans to re-enable it soon. As a gesture of goodwill, players will get a free McLaren Sabre. Those who used the exploit will not be banned, but developers plan to roll back credits to a maximum of 10M for all who farmed credits using the exploit. You can find the complete changelog for the latest Forza Horizon 6 update here.
  • Recent Achievements

    • 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
    • Week One Done
      rolfus earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      484
    2. 2
      +Edouard
      185
    3. 3
      PsYcHoKiLLa
      122
    4. 4
      Steven P.
      83
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!