In Windows 10 desktop, is there way to "Clear All" of the Action Center notifications with the keyboard?
I know WinA will open the Action Center. But I haven't found a shortcut to dismiss the notifications.
Try:
WinKey + A (to open Action Center)
Shift + Tab + Tab (to set focus on "clear all")
Space
The above keystrokes can be automated using NirCmd or AHK easily.
For AutoHotKey users, this little script works for me (Win10 Pro 20H2/19042):
^F12::
Send, {LWIN DOWN}a{LWIN UP}{SHIFT DOWN}{TAB}{TAB}{SHIFT UP}{SPACE}{ESC}
return
This makes the hotkey Ctrl+F12 clear all notifications (Based on w32sh's answer). You can change the hotkey by changing the ^F12
to anything you like, eg. #F6
for the Windows key+F6 or ^m
for Ctrl+m.
Copy into a file called ClearNotifications.ahk
and run, if you have AutoHotKey installed.
For some reason, when doing that manually the solution of WinKey-A, Shift-Tab and Space, always works... but it doesn't when doing it from AutoIt.
This little script for AutoIt will either:
a) If there are any notifications, it will clear them all
b) If there aren't, it will expand or contract the buttons (Tablet, config, etc...) from below.
Send("#a")
Sleep(100)
Send("{ENTER}")
Send("{ESC}")
In AHK Win+Alt+N
Clear all notifications. Tested on Windows 11.
#!N::
Send #n
Send +{Tab}
Send +{Tab}
Send {Space}
Send {Esc}
Try:
WinKey
+ A
to open Action CenterWinKey
+ A
again to close itAt this point notifications are cleared out
Enter
to select desired option(s) after usingWin
A
?