Hi,
I know this has been discussed before. I was looking for a very simple way to end an autoit script/exe when "exit" does not work - I noticed that if a loop is executing in a script "exit" does not end the script. If I say ProcessClose(some_autoit_name.exe) instead of "exit" that would work but what if the user renamed the exe at some point? Is there something available like ProcessClose(self) ? What I mean is, is there a generic id that the running script uses to identify itself that would work even if the user changes the exe's file name?
Thanks.