Close All Notification Alerts / Notification Center not working

i've noticed that the "Close All Notification Alerts / Notification Center" is not working in some latest versions, though i don't from which version it stopped working. the triggers i am using for it, is the middle mouse button and also a keyboard shortcut, both of them does not work.


Affected input device: Normal Mouse, Keyboard


Screenshots
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)


Device information:

  • Type of Mac: Mac Studio
  • macOS version: macOS Sonoma 14.3
  • BetterTouchTool version: 4.458 (installed from Setapp)

I just checked, but the script BTT uses to close all notifications still works fine on the latest macOS version.
Does the middle mouse button / shortcut work with different actions?

Does the middle mouse button / shortcut work with different actions?

yes, i changed it to "show notification" and it works for it.

It could be a permission issue. Make sure BTT has the relevant permissions in System Settings => Privacy & Security => Automation. Especially System Events must be checked there for this to work:

it seems the permissions are right, any other thing i can try to troubleshoot this? perhaps there is some way to trigger the action in some debug mode?

Could you check whether maybe the translation for Spanish has changed? BTT uses these values to access the notification center:

            "Close": "Cerrar",
            "Clear All": "Borrar todo",
            "Notification Center": "Centro de notificaciones"

Can you check whether the notification center process in Activity Monitor is called "Centro de notificaciones" ?

Can you check whether the notification center process in Activity Monitor is called "Centro de notificaciones" ?

yes, it seems it is called this way

"Close": "Cerrar",

i can not find the place in which this "Close" or "Cerrar" is located, the rest is there as expected. "Clear all" is called "Borrar todo" and the "Notification Center" is "Centro de notificaciones"

Demo: Screenshot 2024-03-27 at 11 .44.24 · CleanShot Cloud

FYI, i changed my language to English just to verify and the action works there. it seems there is some bug with the translation as you suspected

hey @Andreas_Hegenberg let me know if there is anything i can do to help fix this, it is annoying not being able to close the notification with shortcuts :sweat_smile:

can you check whether 4.480 alpha fixes this for you?

i have BTT from Setapp subscription, is it possible to use the alpha there? i don't find an option for that. if not, can i install the BTT from the website and can both versions (from Setapp and normal) can coexist normally?

i've got the v4.493 via Setapp today and the issue is solved. thanks!!

1 Like

i´ve tried this function with macOS 15.3 ans BTT 5.170, but it doen´t work for me.
I´ve check the systemsettings and everything seems to be fine

I just tried again on 15.3 but it still seems to work ok here.
Could you check whether there are any non-granted automation requests in System Settings => Privacy & Security => Automation?


I´ve granted the rights another time.
Perhaps my expectations are also wrong.
When pressing crtl-option-cmd-n, I would expect the Thunderbird message to close in the screenshot.

Can I help finding the problem? Do you need logs?
I´ve tried Alienate, which works - but I would love to do it by using BTT

@Andreas_Hegenberg

我使用的是中文,在中文语言使用“关闭所有通知警告/通知中心”操作时,无法正确关闭通知中心的通知。
我切换到英文后,可以正常关闭通知。所以希望您能修复此问题
I am using Chinese. When performing the operation of "Turn off all notification alerts/Notification Center" in Chinese, I cannot correctly turn off the notifications in the notification center. After I switch to English, I can turn off the notifications normally. So I hope you can fix this problem.

Thank you!


macos:15.2 (24C101)

I'm on version 5.271 now and Sequoia 15.3.2.
The feature only partially works for me - when all grouped sections are collapsed ("show less") notifications are being cleared. When there is at least one expanded section - nothing happens.

Applescript from AppleScript to close all notifications on macOS Big Sur, Monterey, Ventura, Sonoma, and Sequoia · GitHub works for me, perhaps developers could use this gist as reference.