Title: [Autohotkey] CoordMode, Pixel Loop { WinGet,active,id,A WinGet,tera,list,ahk_class La Author: someone_ Pastebin link: http://pastebin.com/aE67GMRY First Edit: Monday 11th of January 2016 01:14:50 PM CDT Last Edit: Monday 11th of January 2016 01:14:50 PM CDT CoordMode, Pixel   Loop {     WinGet,active,id,A     WinGet,tera,list,ahk_class LaunchUnrealUWindowsClient     Loop, %tera%     {         WinGetTitle,teratitle, % "ahk_id " tera%A_Index%         if (teratitle = "TERA") and (tera%A_Index% = active)         {             MsgBox Successfully found an active Tera window.             Found = Yes             break         }     }     if (Found = "Yes")     {         break     }     Sleep 5000 }   Loop {     PixelSearch, Px, Py, 921, 0, 983, 27, 0xDEFA26, 10, Fast RGB     if ErrorLevel = 0     {         ControlSend,,{1}, % "ahk_id " active         Sleep 1000         ControlSend,,{2}, % "ahk_id " active         Sleep 1000         ControlSend,,{3}, % "ahk_id " active         Sleep 1000         ControlSend,,{4}, % "ahk_id " active         Sleep 1000         ControlSend,,{5}, % "ahk_id " active     }     Sleep 5000 }