Last active
November 17, 2022 06:30
-
-
Save anonymous1184/d056f94b137ac6b1d4390b2aa726510b to your computer and use it in GitHub Desktop.
Volume changer + OSD
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
| |
; Version: 2022.11.17.1 | |
; Usage and examples: https://redd.it/owgn3j | |
Volume(Offset) { | |
hWnd := DllCall("FindWindowA", "AStr","NativeHWNDHost", "Ptr",0) | |
DetectHiddenWindows On | |
PostMessage 0xC028, 0x0C, 0xA0000,, % "ahk_id" hWnd | |
SoundSet % Format("{:+d}", Offset) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment