Last active
August 29, 2015 14:04
-
-
Save mmarinero/fef7d11cfa8a7045568f to your computer and use it in GitHub Desktop.
Global shortcuts to manage spotify, mute the audio and use the arrows with alt + vim commands. Not working with since Spotify 1.0.2.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; AutoHotkey Version: 1.x | |
; Language: English | |
; Platform: Win9x/NT | |
; Author: M. Marinero <[email protected]> | |
; | |
; Script Function: | |
; Shortcuts to manage spotify, mute the audio and use the arrows with alt + vim commands | |
; Not working since Spotify 1.0.2.6 | |
; | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
!j::send {down} | |
!k::send {up} | |
!h::send {left} | |
!l::send {right} | |
!a::ControlSend, ahk_parent, ^{Right}, ahk_class SpotifyMainWindow | |
!x::ControlSend, ahk_parent, ^{Left}, ahk_class SpotifyMainWindow | |
!z::ControlSend, ahk_parent, {space}, ahk_class SpotifyMainWindow | |
^!z::Send {Volume_Mute} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment