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

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

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

Post by Archimede » 11 May 2024, 11:40

I need to use WinWaitActive(...) to wait for any window with any title, but NO window without title: is it possible?

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

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

Post by mikeyww » 11 May 2024, 11:48

Code: Select all

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

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

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

Post by Archimede » 11 May 2024, 11:52

:-) thank you very much
Sorry for my previous mistake.

Post Reply

Return to “Ask for Help (v2)”