I have notifications in the OSX Notification Center, as for most of my apps I am using the setting, "Show in Notification Centre: 10 Recent Items"
This is a good setting but rather than have a very full Notification Center, I would still like to clear it from time to time with 1 click.
I am using Yosemite 10.10.3
Best Answer
Copy and Paste the above code into AppleScript Editor Enable Script Editor in Accessibility