Recommended Posts

I have a keyboard that lacks media keys - play/pause, back, forward, stop, and volume control keys. But I can't be arsed to buy a new keyboard, and frankly I'm tired of clicking on controls on my desktop to change the volume (and besides, Windows 8 is the first Windows with a OSD built-in - finally).

So I found this sample AutoHotKey script and modified it for my needs. Code is below. For the uber lazy I've also attached a compiled exe. The below comments should easily tell you what the keyboard combinations are ;)

Drop a shortcut in %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup to start upon login.

;; Virtual Media Keys
;; Based on http://frugalcoder.us/post/2011/10/07/Mapping-windows-volume-for-keyboards-without-media-keys.aspx
;; Map WIN + F5 to <<
#F5::Send {Media_Prev}
;; Map WIN + F6 to Play/Pause
#F6::Send {Media_Play_Pause}
;; Map WIN + F7 to >>
#F7::Send {Media_Next}
;; Map WIN + F8 to Stop
#F8::Send {Media_Stop}
;; Map WIN + F9 to Volume Down
#F9::Send {Volume_Down}
;; Map WIN + F10 to Volume Up
#F10::Send {Volume_Up}
;; Map WIN + F11 to toggle mute
#F11::Send {Volume_Mute}

Virtual Media Keys.zipFetching info...

I happened to do exactly the same thing the other day when i received my Filco. I use Ctrl+Alt+Arrow keys for different functions though.

One thing i am looking to do is setup an OSD for the volume control, there's a few already out there that just need modifying to suit.

This topic is now closed to further replies.
  • Posts

    • Fan Control V230 by Razvan Serea Fan Control is a powerful and versatile portable utility that allows you to monitor, control and customize the fans of your GPU and CPU to keep your machine cool and running smoothly. Fan Control supports a wide range of devices and hardware configurations, giving you complete control over your computer's cooling system. Fan Control backend is mainly based on LibreHardwareMonitor, an open source fork of the original OpenHardwareMonitor. This means that hardware compatiblity is entirely open for anyone to contribute, and doesn't rely on a single developer who may stop caring at some point. Combined with the plugin system, Fan Control is unlocked for many generations of hardware to come. Main features Guided setup process on first launch Save, edit and load multiple profiles Change the theme and color of the application. Multiple temperature sources ( CPU, GPU, motherboard, hard drives... ) Multiple fan curve functions, including a custom graph Mix fan curves or sensor togethers (max, min, average) Low resource usage Advanced tuning with steps, start %, stop %, response time and hysteresis FanControl V230 changelog: Update LibreHardwareMonitorLib (ITE IT8696E lost controls) Update translations Download: FanControl V229 | Installer ~15.0 MB (Open Source) View: Fan Control Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • "Conflicts of interest", says the man that put Elon Musk, Mr. Conflict of Interest #1 Himself, in charge of a government agency supervising his own contracts.
    • With our Labor unions, a snowball's chance in hell has more probability.
    • inception horn at max volume every time you copy.
  • Recent Achievements

    • First Post
      EzraNougat earned a badge
      First Post
    • One Month Later
      westDvina earned a badge
      One Month Later
    • Community Regular
      Bern@rd went up a rank
      Community Regular
    • Week One Done
      Joey Solo earned a badge
      Week One Done
    • Week One Done
      Vicente C Alves earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      711
    2. 2
      +FloatingFatMan
      200
    3. 3
      ATLien_0
      163
    4. 4
      Xenon
      130
    5. 5
      wakjak
      110
  • Tell a friend

    Love Neowin? Tell a friend!