someone_

TERA

Jan 25th, 2014
313
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Loop
  2. {
  3.     WinGet,tera,list,ahk_class LaunchUnrealUWindowsClient
  4.     Loop, %tera%
  5.     {
  6.         WinGetTitle,teratitle, % "ahk_id " tera%A_Index%
  7.         WinGet,active,id,A
  8.         if (teratitle = "TERA") and (tera%A_Index% != active)
  9.         {
  10.             ControlSend,,{f}, % "ahk_id " tera%A_Index%
  11.         }
  12.     }
  13.     Sleep 1000
  14. }
RAW Paste Data