Are you running the installer on an account that doesnt have installer rights and have to specify another account to install it?
mmm.. π€guess that can't be the reason as the reg key is HKLM...
Doubt it is installed in the standard way with the installer.
You probably got the message:
Which is shown by the installer when this registry entry is missing: HKLM "Software\AutoIt v3\AutoIt" "InstallDir"
When SciTE closes I can only assume it is either being killed ofr having a hardcrash ... but would require some more details from systemlog about the hardcrash to verify.
Not going to happen as MFA is a security measure, and we are not in the business of working around security measures, as clearly specified in our forum rules.
What does this line return when you add it to your script and is the returned IP addr correct for the smtp server?:
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : TCPNameToIP($s_SmtpServer) = ' & TCPNameToIP($s_SmtpServer ) & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console
Not sure I understand what it is you want to do other than what you coded, which is to stay in the inner loop while the mouse is pressed?
So do what you have to do in that inner loop... no?