Skip to content

Instantly share code, notes, and snippets.

@VitalyKondratiev
Created September 28, 2017 12:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save VitalyKondratiev/03ee5d0c08d16c075fe8ea5cc6796e48 to your computer and use it in GitHub Desktop.
Save VitalyKondratiev/03ee5d0c08d16c075fe8ea5cc6796e48 to your computer and use it in GitHub Desktop.
Управление воспроизведением с клавиатуры ( AutoHotkey)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^!Left::Send {Media_Prev}
^!Down::Send {Media_Play_Pause}
^!Right::Send {Media_Next}
+^!Left::Send {Volume_Down}
+^!Down::Send {Volume_Mute}
+^!Right::Send {Volume_Up}
^!.::
MsgBox, 0, , MediaButtons AHK Script!
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment