Window 11: ToolTip and RunWait Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Loop
Posts: 169
Joined: 07 Jan 2019, 14:51

Window 11: ToolTip and RunWait

Post by Loop » 09 Dec 2022, 16:02

Hi,
I use,
AHK v1.1.36.02
Win 11 22H2

My Script:

Code: Select all

ToolTip, Hi i´m a ToolTip
RunWait, Calc.exe
ToolTip

Earlier under windows 10, my ToolTip waited until I closed the Calc.exe.
Now under windows 11 my ToolTip disappears immediately after starting Calc.exe
Do you have this problem under Win11 too?
Thx

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

Re: Window 11: ToolTip and RunWait  Topic is solved

Post by mikeyww » 09 Dec 2022, 16:11

I think that the process name is different in the newer Windows versions. You run calc but then some other process runs. Running Window Spy will show it. You can always Run -> WinWait -> WinWaitClose.

Code: Select all

ToolTip, Hi i´m a ToolTip
Run, Calc.exe
WinWait, Calculator ahk_class ApplicationFrameWindow
WinWaitClose
ToolTip
Thank you, Microsoft. I sure do appreciate that.

Loop
Posts: 169
Joined: 07 Jan 2019, 14:51

Re: Window 11: ToolTip and RunWait

Post by Loop » 09 Dec 2022, 16:31

True, you are right
Thanks

Post Reply

Return to “Ask for Help (v1)”