#IfWinExist Oxford Advanced Learner ~LButton Up:: Clipboard := "" Send {LButton}^c ClipWait, 0 If ErrorLevel { MsgBox, 48, Error, An error occurred while waiting for the clipboard. Return } ^+n:: WinActivate Click, 182 133 2 Send ^a^v`n Return #IfWinExist