Maddog Posted July 27, 2016 Share Posted July 27, 2016 I don't even know if it's possible, when a random OSX notification is showing, is there a way to trigger a click on it? I'd love to have a hotkey to click on notifications without moving the mouse. Thanks Link to comment
deanishe Posted July 27, 2016 Share Posted July 27, 2016 Google says "yes". http://superuser.com/questions/666605/osx-mavericks-keyboard-shortcut-to-kill-notifications Link to comment
Maddog Posted July 27, 2016 Author Share Posted July 27, 2016 (edited) Yes, just found it, I was using osascript instead of applescript in the search and couldn't find anything. tell application "System Events" to tell process "Notification Center" click last item of windows end tell This works, Thanks! Edited July 27, 2016 by Maddog Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now