Here's the final code:
; note: "WMP Keys" software installed
; Ctrl-Alt-PageUp to go from 0 volume to 75
^!PgUp::
DetectHiddenWindows,On
Loop 15
{
Send ^!{Up}
Sleep, 250
}
return
; Ctrl-Alt-PageDown to go from 75 volume to 0
^!PgDn::
DetectHiddenWindows,On
Loop 15
{
Send ^!{Down}
Sleep, 250
}
return
; Ctrl-Alt-Insert to go from 0 volume to 20
^!Ins::
DetectHiddenWindows,On
Loop 4
{
Send ^!{Up}
Sleep, 250
}
return
SetTitleMatchMode, 2
#IfWinActive, Company Of Heroes 2
; Ctrl-Alt-z to put COH2 into fullscreen mode
^!z::
WinSet, Style, -0xC40000, a
WinMove, a, , 0, 0, % A_ScreenWidth, % A_ScreenHeight
return
; Ctrl-Alt-a to put COH2 back into windowed mode
^!a::
WinSet, Style, +0xC40000, a
WinMove, a, , 0, 0, % A_ScreenWidth, % A_ScreenHeight
return
Gonna try it out today! Wish me luck
