Exactly! you are right , the only problem with Exitloop is , is that it closes the whole script.
when the system is idle for like 5 secs , it starts notepad.exe (and only once) but it also 'kills' the script itself.
Im trying to make a script that
A) starts notepad.exe when the system is idle (for 5 secs).
when the input is back, it (the scripts basically "waits" until its idle again for 5 secs , then starts notepad.exe (once)
Thank you for your fast replies!