Created
October 19, 2023 00:31
-
-
Save OldStarchy/e16962f5b0ddd590454a25e94a379971 to your computer and use it in GitHub Desktop.
AutoHotkey for controlling media with ctrl+mouse buttons
This file contains hidden or 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
#Requires AutoHotkey v2.0 | |
; On ctrl+middle click, send media play/pause | |
^MButton::SendInput "{Media_Play_Pause}" | |
; on ctrl+mb5, send media next | |
^XButton2::SendInput "{Media_Next}" | |
; on ctrl+mb4, send media prev | |
^XButton1::SendInput "{Media_Prev}" | |
; on ctrl+wheel up, send volume up | |
^WheelUp::SendInput "{Volume_Up}" | |
; on ctrl+wheel down, send volume down | |
^WheelDown::SendInput "{Volume_Down}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment