Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Using ProcessClose for an Autoit exe to end itself ?

$
0
0

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.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>