Contineously running a script

Recommended Posts

jaknap 0

jaknap 0

I am new to autoit. I have a simple script that needs to be running all the time waiting for 2 windows to pop up. When they pop up , a button need to be clicked on each window to close them. I can get following script to run once but i need to run it all the time. A added the "while" to try to keep it looping but it does not seem to work.