To use VMR.ahk in your script, follow one of the following methods:
- Install and set up ahkpm
- Run
ahkpm install gh:SaifAqqad/VMR.ahk - Include VMR in your script by running
ahkpm include gh:SaifAqqad/VMR.ahk -f myScript.ahk
- Download the latest pre-built version from the
distfolder / latest release or follow the build instructions below - Include it using
#Include VMR.ahkor copy it to a library folder and use#Include <VMR>
!> The current version of VMR only supports AHK v2, the AHK v1 version is still available on the v1 branch, see v1 docs.
- Create an instance of the
VMRclass and log in to the API:voicemeeter := VMR().Login()
- The
VMRinstance will have two arrays (BusandStrip), as well as other properties/methods that will allow you to control voicemeeter in AHKvoicemeeter.Bus[1].mute := true voicemeeter.Strip[4].gain++
To build VMR.ahk, either run the vscode task Build VMR or run the build script using ahkpm or manually:
# ahkpm
ahkpm run build
# Manually
Autohotkey.exe ".\Build.ahk" ".\VMR.ahk" "..\dist\VMR.ahk" "<version number>"This documentation is for VMR.ahk, If you need help with the Voicemeeter API check out their documentation