Code: Select all
F11::
KeyWait, F11, U
Msgbox, hi
return
Code: Select all
F11::
KeyWait, F11, U
Msgbox, hi
return
Code: Select all
F11 up:: ; when F11 is released
if (A_PriorKey = "F11") ; if the last pressed key was F11
MsgBox, hi
return
Code: Select all
F11 & Esc::return ; when Esc is pressed in combination with F11, do nothing
F11 up::MsgBox, hi ; if F11 is used on its own...