Global hotkeys for Spotify

Daigle Recommends 2 Comments »

I don’t know about you guys, but I use Spotify and I’m simply annoyed by the fact that there are no hotkeys for the program to for example changing songs, pausing a song and such. You always have to change to the program itself and press the damn button when you want the next song. So I had a look around and found a solution which I think many of you will find useful.

Toastify is a simple tool that will stay in your system tray and it even starts with Windows detecting whether Spotify is running or not and if it isn’t, it asks if you would like to start it :)

A few adjustments need to be made, at least in my case, for it to function the way I like it, but here we go:

1. Download Toastify from here (it’s a download page, just select the installed option or ZIP, whichever you prefer).
2. Install or extract it to a location of your preference.
3. That’s it! If you want to make the modifications, continue.

To disable the toast popping from system tray whenever a song changes and to change the hotkeys, here are the additional advices:
4. The location you installed/extracted Toastify to, has a file called Toastify.xml. Open it in a text editor.

Here you have the basic functions for hotkeys and some additional stuff like changing the toast colours etc. I’m just going to disable the toasts and change the keys a bit to my liking:

<DisableToast>false</DisableToast>
this should be changed to true in order to disable toasts

Here’s the basic code for one hotkey:
<Hotkey>
<Ctrl>true</Ctrl>
<Alt>true</Alt>
<Shift>false</Shift>
<Key>Up</Key>
<Action>PlayPause</Action>
</Hotkey>

Ctrl tag is turned on with the true value, to disable ctlr with the hotkey, just change it to false. So it would be <Ctrl>false</ctrl>.
The same thing goes for Alt and Shift keys. One of these should be activated.
Key tag is basically the key you want to associate the hotkey with.
Action is basically the action it does – play, pause, next track, previous track etc. No need to touch this.

I’m used to changing songs with pressing Ctrl+Alt+Home. So I will change the Key tag to Home.

So it would be:

<Hotkey>
<Ctrl>true</Ctrl>
<Alt>true</Alt>
<Shift>false</Shift>
<Key>Home</Key>
<Action>PlayPause</Action>
</Hotkey>

This can be done to all hotkeys. Just go through the code. It’s pretty simple.

There we go. Ask if any problems :)

Tags: ,
Wordpress Themes by Natty WP. Web Hosting. Professional Wordpress Themes | Ladies Clothing, Fashion Dresses
Images by our golf tips desEXign. Template modifications and content by Toni Impiö.
 

© 2005-2010 tonskudaigle.info All Rights Reserved