Page 1 of 1

WinWaitActive( ... ) for all windows begins with "h" but no other

Posted: 11 May 2024, 11:13
by Archimede
Hallo.
I need to wait for any window activates, with the title is different than "" ( then no menu or other ): is it possible?

Re: WinWaitActive( ... ) for all windows begins with "h" but no other

Posted: 11 May 2024, 11:20
by mikeyww

Code: Select all

#Requires AutoHotkey v2.0
SetTitleMatchMode 'RegEx'
WinWaitActive 'i)^h'
MsgBox WinGetTitle('A'), 'Status', 'Iconi'

Re: WinWaitActive( ... ) for all windows begins with "h" but no other

Posted: 11 May 2024, 11:43
by Archimede
Sorry.
This is wrong and I am not able to delete it.
I post another right message.

Re: WinWaitActive( ... ) for all windows begins with "h" but no other

Posted: 11 May 2024, 11:44
by mikeyww