Skip to content

Instantly share code, notes, and snippets.

@onyx-and-iris
Created July 24, 2022 22:05
Show Gist options
  • Save onyx-and-iris/5250489234215988972ef4104bd44f4f to your computer and use it in GitHub Desktop.
Save onyx-and-iris/5250489234215988972ef4104bd44f4f to your computer and use it in GitHub Desktop.
adds increment and decrement volume function for app gain using VMR.ahk
#Include VMR.ahk
vm := new VMR().login()
vol := 0.5
vm.strip[6].AppGain := Format("(""Spotify"", {:.1f})", vol)
^a::
vol -= 0.1
vm.strip[6].AppGain := Format("(""Spotify"", {:.1f})", vol)
return
^d::
vol += 0.1
vm.strip[6].AppGain := Format("(""Spotify"", {:.1f})", vol)
return
@onyx-and-iris
Copy link
Author

the autohotkey wrapper can be found here
https://github.com/SaifAqqad/VMR.ahk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment