
I would like you to write me the exact command

Code: Select all
#IfWinActive Notepad
!F1::
MsgBox, It's notepad
Return
#IfWinActive ahk_class CabinetWClass
!F1::
MsgBox, It's Windows explorer
Return
#If
!F1::
MsgBox, It's something else
Return
Code: Select all
#IfWinActive Snap Camera
!F1::MsgBox % "You've pressed " A_ThisHotkey
!F2::MsgBox % "You've pressed " A_ThisHotkey
!F3::MsgBox % "You've pressed " A_ThisHotkey
#If
Code: Select all
#IfWinActive ahk_exe Snap Camera.exe
F3::MsgBox, Test
#IfWinActive
Code: Select all
!F3::
^!F3::MsgBox, test