I have an ahk script which closes various windows using “postmessage”. It works fine, until it comes across a window which generates an “are you sure you want to exit” msgbox, at which point, it can’t close it.
I can’t seem to get winclose/winkill to work.
I’m looking into shutting down the background process, but if anyone knows a better way of doing it, I’d love to hear it.
Get help with using AutoHotkey and its commands and hotkeys
2 posts • Page 1 of 1
I’ve got the script to kill the pod if the postmessage fails, so no longer really an issue, but it’d be nice to know if there’s a better way.