Close the damned notification windows using AppleScript
1 Close the damned notification windows
tell application "System Events"
if exists (window 1 of process "Notification Center")
if exists (button "Close" of window 1 of process "Notification Center")
click button "Close" of window 1 of process "Notification Center"
end if
end if
end tell