I have the script and if I hit ESC it stops running.
HotKeySet("{ESC}", "Terminate")
Func Terminate()
Exit
EndFunc
But that stops the whole script, I would like to just stop that working function and that is not possible on this way.
Maybe you know how to do it, but I can't find the way. Because once in the function and script is working,
but it doesn't stop the function that the is running. But the whole script.
So what I taught: exit the script but start executable again on Exit.
Is this possible?