Created
December 2, 2013 14:25
-
-
Save cfraizer/7750219 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
tell application "System Events" | |
tell process "NotificationCenter" | |
set numwins to (count windows) | |
repeat with i from numwins to 1 by -1 | |
click button "Close" of window i | |
end repeat | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment