Trying to close a window with ask.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Stabby_dave
Posts: 4
Joined: 03 Aug 2017, 09:56

Trying to close a window with ask.

12 Aug 2018, 05:19

Hi.

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.

Thanks.
Stabby_dave
Posts: 4
Joined: 03 Aug 2017, 09:56

Re: Trying to close a window with ask.

12 Aug 2018, 10:54

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.

Cheers.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 337 guests