Recently i've encountered some issues with an automated process i am building that involves AutoIT.
I am running the compiled AutoIt executable on a remote machine, connected via RDP.
It appears, that when the RDP window (using mRemote to perform RDP connections) is minimized or closed, the whole execution flow will halt, and all the AutoIT commands are not being executed.
I've looked around the forums and in Google a little bit, but haven't found any conclusive information or a good workaround for this issue (besides keeping the window always opened).
This makes using AutoIT not consistent and robust as it may be.
Any solutions for this scenario ? How can we avoid this ?
I wrote a small test application that prints DateTime.Now every 2 seconds. This works, even when disconnecting from the RDP session.
This means that arbitrary C# code works even when RDP session is disconnected; however, AutoIT code does not.
Edited by LiorTal, 03 April 2011 - 07:32 AM.