FEATURE REQUEST: global keyboard shortcut to Show Macro.Buttons
Posted: Fri Jul 10, 2020 9:52 am
- Enable global keyboard shortcut to show, bring to foreground and focus Macro.Buttons.
Enable global keyboard shortcut to hide Macro.Buttons
VB-Audio's Information and Discussions
https://forum.vb-audio.com/
Code: Select all
;hotkey assignment
F18::
;path to executable
path = C:\Program Files (x86)\VB\Voicemeeter\
;executable file
app = VoicemeeterMacroButtons.exe
;If window of app doesn't exist, run it
IfWinNotExist, ahk_exe %app%
{
Run %path%%app%
WinWait, ahk_exe %app%
WinActivate, ahk_exe %app%
Return
}
;If the app's window is not the active window, make it so
IfWinNotActive, ahk_exe %app%
{
WinActivate, ahk_exe %app%
Return
}
;If the windows is active, minimize it
IfWinActive, ahk_exe %app%
{
WinMinimize
Return
}
Return