Reply to Notification Center message notifications using a global hotkey, without going to the app.
Free for up to 10 shortcuts.
- Get using homebrew:
cask update
,cask install fastscripts
. - Get manually: download Fastscripts and install.
- Download
QuickReply.scpt
and move it to~/Library/Scripts
(may require administrator privileges) - Open FastScripts preferences and assign a keyboard shortcut to QuickReply.
- There are many other options for running AppleScripts
- Download
QuickReply.scpt
and assign it a shortcut
Unfortunately, there are several bugs with OSX Services that render this approach unworkable. Services take a long time to fire, and global Services shortcut keys don't work in applications that don't have a Services menu.
DownloadQuickReply.workflow
Double-click it to installGo to System Preferences -> Keyboard -> ShortcutsClick Services on the leftScroll to the bottom, under GeneralAssign a key combination to QuickReply
Lots of messaging applications (like Skype) tie into OSX's Notification Center.
Replying to a notification requires you to use the mouse, which is not ideal.
It's pretty simple to use AppleScripts to set up a shortcut key that lets you reply to Alerts, but using Alerts means notifications stay on the screen until dismissed, which is not ideal.
The simple approach is unworkable with Banners, since the Reply button only comes into existence once you hover over the notification.
This script takes a more complicated approach: it stores the mouse location, hides the mouse cursor, mouses over the banner to reveal the Reply button, restores the mouse to its original location, then activates the Reply button.
When attached to a global shortcut, you now have a hotkey to immediately respond to notifications - without having to open the app.