Skip to content
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

Need Programmatic Way of Dismissing Notifications on macOS #128

Open
ProfessorManhattan opened this issue Dec 7, 2023 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@ProfessorManhattan
Copy link
Contributor

💡 Feature/Idea

During the install, on macOS a lot of notifications appear that currently require manual effort to dismiss. See this screenshot:

Screenshot 2023-12-06 at 7 41 51 PM

We need a one-liner that dismisses all the notifications.

👍 Can you contribute?

No response

@ProfessorManhattan ProfessorManhattan added the enhancement New feature or request label Dec 7, 2023
@enggnr
Copy link
Contributor

enggnr commented Dec 28, 2023

@ProfessorManhattan, the javascript code here is able to clear notifications. There are other applescript code in that gist but none of those worked for me (Ventura). Save the javascript code with extension .javascript. This can then be run using the script editor to test or by running osascript <file>.javascript. Could you please help test the script before adding it to the repo?

Also, this feature is available in Lanuchbar (this and this). I find it interesting. This may be a good candidate to integrate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants