Skip to content

Instantly share code, notes, and snippets.

@popstas
popstas / media_buttons.ahk
Last active March 21, 2018 15:33 — forked from VitalyKondratiev/media_buttons.ahk
Управление воспроизведением с клавиатуры ( 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.
+^!End::Send {Media_Play_Pause}
+^!Left::Send {Media_Prev}
+^!Right::Send {Media_Next}
+^!Down::Send {Volume_Down}
+^!Up::Send {Volume_Up}