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

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
Archimede
Posts: 675
Joined: 25 Nov 2021, 09:49
Location: Switzerland / Italy

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

Post by Archimede » 11 May 2024, 11:13

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

User avatar
mikeyww
Posts: 28871
Joined: 09 Sep 2014, 18:38

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

Post by mikeyww » 11 May 2024, 11:20

Code: Select all

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

Archimede
Posts: 675
Joined: 25 Nov 2021, 09:49
Location: Switzerland / Italy

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

Post by Archimede » 11 May 2024, 11:43

Sorry.
This is wrong and I am not able to delete it.
I post another right message.


Post Reply

Return to “Ask for Help (v2)”