Increase the polling interval - 1 second is a bit of overkill.

Trash and recreate the autoit objects each cycle - maybe it has a memory leak.

Rather than Open()/Write use RedirectOutput() and open/close it on each cycle - the file will be up-to-date and there will be less memory overhead.