Message dialog window closure

Does anyone know how to close an open message dialog window, e.g. if after 1 minute no response came from the user? Can it only close using a ‘Push’ command of any button?
Interestingly, looking after a ‘break’ in the IDE at the existing windows, it does not appear…

I’ve created my own custom dialog to do this. AFAIK there’s nothing built-in that allows you do this.

2 Likes

I can’t test right now, but wouldn’t simulating a key press (e.g. from another thread) be able to close a message dialog?
Especially since it’s to the same process, I could imagine Mac OS security restrictions being not a problem… :man_shrugging:

The app will need permission to control the keyboard for this hack. Not recommended.