Way to keep the taskbar windows from blinking?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
mikeyww
Posts: 27191
Joined: 09 Sep 2014, 18:38

Re: Way to keep the taskbar windows from blinking?

24 Jan 2023, 10:41

This is just my view here, but I don't recommend that (or even know a way). This is how Windows tells you that the window has responded to some sort of request, but the window is not active. The blinking should alert you to check the window. For most such requests, the window will become activated so that the blinking does not occur, but there are some cases when that does not happen. The Windows feature is called steal focus, so you may want to search the Internet for that term. I believe that there is a registry setting or other Windows setting somewhere that governs this feature, though I find that it does not always work as I expect.
autocart
Posts: 214
Joined: 12 May 2014, 07:42

Re: Way to keep the taskbar windows from blinking?

24 Jan 2023, 11:06

Not sure if this applies in your case but maybe have a look at:
https://www.autohotkey.com/docs/v2/lib/_WinActivateForce.htm
... it might prevent task bar buttons from flashing when different windows are activated quickly one after the other.
Timmy347
Posts: 109
Joined: 26 Aug 2017, 12:15

Re: Way to keep the taskbar windows from blinking?

25 Jan 2023, 01:22

autocart wrote:
24 Jan 2023, 11:06
Not sure if this applies in your case but maybe have a look at:
thanks!

is there a way to apply WinActivateForce to every open explorer window?
autocart
Posts: 214
Joined: 12 May 2014, 07:42

Re: Way to keep the taskbar windows from blinking?

25 Jan 2023, 03:04

Did you even read the description in the help?
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Way to keep the taskbar windows from blinking?

25 Jan 2023, 05:36

Timmy347 wrote:
25 Jan 2023, 01:22
is there a way to apply WinActivateForce to every open explorer window?

Code: Select all

#Requires AutoHotkey v1.1.36.02
DetectHiddenWindows On
WinGet hwnds, List, ahk_exe explorer.exe
Loop % hwnds
	DllCall("FlashWindow", "Ptr", hwnds%A_Index%, "Int", false)
Timmy347
Posts: 109
Joined: 26 Aug 2017, 12:15

Re: Way to keep the taskbar windows from blinking?

25 Jan 2023, 06:36

swagfag wrote:
25 Jan 2023, 05:36
DllCall("FlashWindow", "Ptr", hwnds%A_Index%, "Int", false)[/code]
hah

that actually worked, to get all the Explorer Windows to stop flashing.

Unfortunately, they all stop flashing and stay in an illuminated state. haaaaa

interesting though.

i'm on a vanilla windows 10 PC by the way
Timmy347
Posts: 109
Joined: 26 Aug 2017, 12:15

Re: Way to keep the taskbar windows from blinking?

25 Jan 2023, 10:35

mikeyww wrote:
24 Jan 2023, 10:41
This is just my view here, but I don't recommend that (or even know a way). This is how Windows tells you that the window has responded to some sort of request, but the window is not active.
It happens because I use another app to open explorer windows. When you open explorer windows too fast, MS Windows gets confused when focus is lost too quickly after an explorer window instance is created.

When this happens (focus is lost too quickly), the explorer window thinks you're not attending to it, and so it blinks, even though nothing is going on with it and it doesn't need your attention.

Really annoying problem if you use a desktop manager app. I spend half my day clicking windows to get them to stop blinking (they stop when you click on them.)
User avatar
mikeyww
Posts: 27191
Joined: 09 Sep 2014, 18:38

Re: Way to keep the taskbar windows from blinking?

25 Jan 2023, 10:42

I see. Thank you for explaining it.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 127 guests