I want to use the command #IfWinActive with three things instead of one thing, so for example I want to show MsgBox if one of three following things is activated:
1. Word
2. Excel
3. Google - Google Chrome
I use the following code but it doesn't work
Code: Select all
#IfWinActive Word || Excel || Google - Google Chrome
F4::
MsgBox, Hello
Return
#IfWinActive