i need a mini script that is just checking all 30 seconds for a Active window.
Window Name: League of Legends (TM) Client
When the Window (Game) is active it has to write into a Textfile "Ingame" when the Window gets closed change "Ingame" into "Not Ingame".
It would be awesome when someone can help me... im a autoit noob :/






