This seems straightforward, but I am having some troubles identifying the specific triggers/actions to do the job. Here goes:
A notification arrives from an app "X"
When that happens, Keyboard Maestro should dismiss that notification/close that notification.
Is there a specific trigger, and a specific action to achieve this? I came across a third-party author's post that has a list of "Global macros" and of that list, there is one macro to dismiss notifications. I imported this list, but I am not sure how to use it.
So, I am back to square one and I am trying to setup this macro on my own. Any help would be great. Thank you!
You can control the type of Notifications in the Notifications panel of System Preferences:
Change the setting from "Alerts" to "Banners", and the notification will show briefly and then auto close.