Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases
SendMode Input ; Recommended for new scripts due to its superior speed and reliability
#Warn All, MsgBox ; Enable warnings to assist with detecting common errors
#SingleInstance, Force ; Allow only one running instance of script
#Persistent ; Keep the script permanently running until terminated
msgbox started
Return
^Numpad1::
^+Numpad1::
^NumpadEnd::
^+NumpadEnd::
msgbox pressed
return