; #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. ; SendMode "Input" ; Recommended for new scripts due to its superior speed and reliability. ; SetWorkingDir (%A_ScriptDir% ) ; Ensures a consistent starting directory. SetTitleMatchMode 2 SetTitleMatchMode ("Slow") DetectHiddenWindows 1 DetectHiddenText 1 ; ; ; ; ; Alt=! + Mouse Left Button = open Alert manager !LButton:: { SendInput "^!a" Sleep 1000 ; I use a sleep after each send to give the system time to "do" what I asked. You can adjust each one or take them out SendInput "!f" Sleep 1000 SendInput "{Right 4}" Sleep 1000 SendInput "{Enter}" Sleep 1000 SendInput "!e" Sleep 1000 SendInput "{Down 6}" Sleep 1000 SendInput "{Enter}" Sleep 1000 ; Lines below are for AHK to respond to confirmation request from SC to do the delete SendInput "{Enter}" Sleep 1000 SoundBeep 2550,225 ; I like to hear a sound when the macro is finished Return } ; ; ; ; ;=================================================================================== ;=================================================================================== ; ;