Hello, I have a question. I have never used autoit for sth else besides IE. I am trying to accomplish sth but i dont even know where to start. I got this simple code. Run("notepad.exe") WinWait("[CLASS:Notepad]") ControlSetText("[CLASS:Notepad]", "", "Edit1", "Hello"&@CRLF&"Hello"&@CRLF&"Hello"&@CRLF&"Hello"&@CRLF&"Hello") What i want to do is to count the lines and then check them one-by-one to see if there are two or more lines with the same text. Thanks