Close notification with keyboard shortcut! (no need to open notifications center)
- Find the position of the little "x" button on the notification, for me that's 1324,20 on a MacBook Air.
- Install cliclick (
brew install cliclick)
- Use this as a shell script:
Or you can use the "Close All Notification Alerts" predefined action that is included in BTT
I spent 2 hours figuring out how to do this ='( Thanks though lol
also note you can use BTT's "move mouse to position" and leftclick actions to click anywhere on your screen. So you would not need click click eben when doing it like this
Thanks @Andreas_Hegenberg one of the more annoying things about MacOS, is the notification alerts about disconnecting external drives. You've helped me to fix this nicely, but open to any further suggestions.