#singleinstance force
#MaxThreadsPerHotkey 1
;this script will open AHK's key history
;press some keys and see if they appear in the window
;press F5 to refresh (to show recently pressed keys)
;#InstallKeybdHook
;#InstallMouseHook
;#KeyHistory 500 ;default 40, max 500
;KeyHistory
; Set window AlwaysonTop
#SPACE:: Winset, Alwaysontop, , A
;--------------------------------------------
F24::
If (SpamSwitch := Not SpamSwitch) {
SplashImage, c:\alert_small.png, B X2 Y55 , , , SpamAlert
WinSet, TransColor, Black, SpamAlert
SetTimer SpamLoopE, 500
if WinActive("ahk_exe eqgame.exe") or WinActive("ahk_class _EverQuestwndclass")
Send e
} Else {
SplashImage, Off
SetTimer SpamLoopE, Off
}
Return
SpamLoopE:
if WinActive("ahk_exe eqgame.exe") or WinActive("ahk_class _EverQuestwndclass")
Send e
Return