Page 1 of 1

Re: WinWaitActive( ... ) for all windows with any title but no without title

Posted: 11 May 2024, 11:40
by Archimede
I need to use WinWaitActive(...) to wait for any window with any title, but NO window without title: is it possible?

Re: Re: WinWaitActive( ... ) for all windows with any title but no without title

Posted: 11 May 2024, 11:48
by mikeyww

Code: Select all

#Requires AutoHotkey v2.0
SetTitleMatchMode 'RegEx'
WinWaitActive '.'
MsgBox WinGetTitle(), 'Window title', 'Iconi'

Re: Re: WinWaitActive( ... ) for all windows with any title but no without title

Posted: 11 May 2024, 11:52
by Archimede
:-) thank you very much
Sorry for my previous mistake.