![]() I'm not gonna start one of my rants about why CEF-based apps are Satan's lovechild I'm just going to share 2 ways of controlling Spotify. Unfortunately, there's no standardized way to do it because the company choose CEF for their application and one of the downsides of this decision is the automation of the app. UpdateĪs suggested by Matt in the comments - I've taken a look at SharpKeys to map my CapLocks (who uses it?!) to a function key - F15.Controlling Spotify via shortcuts is something often asked and certainly, a necessity because music plays ( no pun intended) an important part in the day-to-day of many people and since effin' iTunes is a no-go in a PC people are hand-tied to Spotify (and/or others that also use CEF: Chromium Embedded Framework). You can do a lot more with AutoHotKey, check out their quick start guide, hotkey list, key list and command list to get an idea of what you can do. ^!Down::Volume_Down Ctrl+Alt+↓ => Volume down ^!Right::Media_Next Ctrl+Alt+→ => Next Track ^!Left::Media_Prev Ctrl+Alt+← => Previous track My file looks a little something like this: ^!Space::Media_Play_Pause Ctrl+Alt+Space => Play/Pause music If like me you want the script to run on startup go ahead and create it in your startup folder. Once you've got it running you're going to want to create your script. ![]() Setting up your scriptĭownloading and installing AutoHotKey is as straightforward as it should be. I've since lost that script (and that keyboard) so I'm writing this post to help me next time I lose it. A couple of years ago a colleague showed me AutoHotKey - a scriptable desktop automation application - for this very reason. Crazy I know! My computer at work isn't quite as spectacular as this so I have to resort to other means if I don't want to be constantly opening Spotify. ![]() I've got a fancy keyboard at home that's so futuristic it has play and pause buttons on it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |