>>326
F1::MsgBox 1

#If WinActive() || WinActive() ; ここに式
F1::MsgBox if1
#If ; 以降の条件リセット

F2::MsgBox 2