Global Hotkeys doesn’t have out-of-the-box support for global hotkeys, which I think are a requirement for any music player. So I created a simple tool that will let you control the for Windows app through global hotkeys.


  • Hotkeys for Skip, Love, Ban, Tag, Share and Add to playlist. Plus a buggy hotkey for Play/Stop, too 🙂
  • Define your own key combinations.
  • Minimize to system tray.
  • Supports autorun.
  • Portable. Settings will be saved in lastfm_hotkeys.ini in the program’s folder. If the .ini file is not found settings will be saved in the registry.
  • Screenshot.

Download (559 KB)
I’ve only tested the application with player on Windows XP. I have no idea whether it’ll work with other versions. Use at your own risk.

Known Issues

For some inexplicable reason the “Play/Stop” button in behaves differently than the other buttons when I try to click it programmaticaly. Sometimes it gets stuck in disabled (grayed out) mode. I wasted two days trying to figure it out and got nowhere, so I’ve decided to leave it unfixed for now.

<rant>The app uses the Qt framework which makes it very hard to control it externally. Things that look like buttons aren’t really buttons from the Windows API point of view, etc. Maybe an extension DLL would be a better solution, but I currently don’t feel like plodding through the source code to figure out how to make an extension. Maybe someday.</rant>

Related posts :

24 Responses to “ Global Hotkeys”

  1. xbtsw says:

    This is really great. Thanks for your great work.

    I found a small bug when using under vista sp1 (UAC disabled).

    when toggle “load on startup” all hotkeys stop function.

  2. White Shadow says:

    Okay, fixed that. I’m uploading the new ZIP now.

  3. xbtsw says:

    really fast reply.
    thanks for your work again 🙂

  4. Roberto says:

    don´t work for me… when I use a shortcut, I just listen to a beep and nothing works 🙁

  5. White Shadow says:

    Well, this app isn’t really anywhere near bug-free 😛 All I can suggest is restarting both and this program, might help sometimes.

  6. Roberto says:

    Hi, I do this… and just start working 🙂 Don´t know why… but now works…

    If you accept some requests… Well… Maybe a mute hotkey… and control with the global hotkeys (like play, stop, skip, etc… some keyboards have this..) will be amazing!!

    Sorry for the english!

  7. White Shadow says:

    Probably can’t do a mute hotkey because the “mute” icon in the player isn’t really a button, just a part of the “volume control” component. Might be hard to hit it programmatically.

    As for media keys (I think that’s what they are called) on certain keyboards, I would support them if I could… But there’s no documented way to access them in the programming language that I used. It probably can be done (in theory), but I don’t know how.

  8. Roberto says:

    I don´t know how do you access the buttons…. but maybe you find some useful information about the media buttons (or any other acces to buttons) with the AutoHotkey software… there is a interesting post on forum:

    I try this… but don´t work for me…. But maybe you understand better how to make it work.

  9. White Shadow says:

    Finally looked at the link. The approach described in there would probably work, but it would cause the Last.FM window to activate & deactivate every time you pressed a hotkey. I think that would be annoying and would cause problems with fullscreen applications (i.e. games).

  10. Sam says:

    Excellent, thank you for this useful utility. I can now use my phone to control the player, as I have been doing with Winamp.

  11. ChicaGeek says:

    I’ve been looking for something like this since I started using I use Winamp to play music and I’m too much used to using global hotkeys, so I missed them a lot when using the client. This app works perfectly fine!! Even the “buggy” play hotkey 😉 Thanks a lot!!

  12. spence says:

    Thanks for this great app. I listen to a lot of music at work and this give me a perfect way to quickly apply the ‘love’ tag to a song.

  13. Patrick says:

    works with windows 7 beta 7057 x64 😀

    nice app m8, thx a lot

  14. Sven says:

    Awsome! Thanks a lot, I’ve been waiting for something like this for ages.

  15. Kithkani says:

    Thanks a ton! I have been looking for this solution for quite some time.

  16. levidos says:

    it’s not working for me on win7 x64 :/

  17. White Shadow says:

    I still don’t have Win 7, so there’s really not much I can do about that.

  18. James says:

    Awesome mate good work. Works like a charm in Win7 64bit RC1

  19. Jamie Carter says:

    You >= awesome! I’ve been looking EVERYWHERE for this, and finally typed the right thing into Google and found it. This was exactly what I was looking for. Fantastic.

Leave a Reply