An easy way to do the same thing:
CODE:
#Requires AutoHotkey v2
MsgBoxCopyText(Enable := true) {
HotIfWinActive("ahk_class #32770")
Hotkey("^c", (*) => A_Clipboard := ControlGetText("Static1"), Enable ? "On" : "Off")
}
Statistics: Posted by NPerovic — 49 minutes ago