alfred-notification-dismisser
alfred-notification-dismisser copied to clipboard
Script not working on Big Sur?
Wondering if there's any change that needs to be made to the script. I get the following message when running the workflow, despite having many notifications.

same, I tried to run and it doesn't work :(. I'm I the only one? thanks!
Same for me on Big Sur, not working.
Same problem here, in Monterey
This AppleScript closes the current notification but I can't figure out how to get beyond that one (works on Monterey):
tell application "System Events"
tell process "NotificationCenter"
set numwins to (count windows)
repeat with i from numwins to 1 by -1
perform (first action of group 1 of UI element 1 of scroll area 1 of window i where description is "Close")
-- click button "Close" of window i
end repeat
end tell
end tell
I stumbled on this workflow and this issue, and found another workflow that works on my machine (macOS Monterey 12.4): https://github.com/bpetrynski/alfred-notification-dismisser