-
Notifications
You must be signed in to change notification settings - Fork 890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System "dismiss-notifications" script command doesn't work on MacOS Sequoia version 15.1 #967
Comments
I don't think this is a problem on macOS Sequoia, since the way Perhaps you can check one of those options and change it for yourself. Also, you can search through the issues because we have already discussed that in the past in the issues/PRs. |
Thanks. I do see these PRs discussing some issues (localization you mentioned, other mentioning that the center needs to be open to work). I think the issue, for me, isn't related to localization - as it is finding the NotificationCenter process/window - there's just nothing to do, in terms of actions, within it so not sure there's actually a way to get this to work. I suspect the issue is likely that the "clear" or "clear all" notifications button only appears when you hover on it with your mouse and there might not be an entry point to that action with applescript. Considering the above, I was curious if this script then worked for anyone at any point (and whether that was a prior version of macOS). |
Very good point. However, I don't really think there will be a final solution that works for everyone. I do think that for those whose computers the script doesn't work on, the best solution would probably be to make some changes to make it work for themselves. Perhaps this is going to be your situation, Kris. |
Does sound like it probably should be named with For anyone else stumbling on this - this gist discussion does have some working scripts (in particular, this one works for me if the notification pops out the notification center - though it loops through each item so can be a bit slow). |
Even though I understand your point about using the |
Just chiming in to say that this script did work for me until I upgraded to Sequoia. |
Running the script here results in a
Same error regardless if I group or do not group my notifications.
If I edit the script to see what actions/groups exists - I see there's:
The text was updated successfully, but these errors were encountered: