Tag Info

Hot answers tagged

33

terminal-notifier From the README: terminal-notifier is a command-line tool to send Mac OS X User Notifications, which are available in Mac OS X 10.8. It is currently packaged as an application bundle, because NSUserNotification does not work from a ‘Foundation tool’. radar://11956694 This tool will be used by Kicker to show the status ...


19

With Mavericks, you can do this using AppleScript: display notification "Lorem ipsum dolor sit amet" with title "Title" That's it — literally that simple! No 3rd-party libraries or apps required. From Terminal: osascript -e 'display notification "Lorem ipsum dolor sit amet" with title "Title"'


12

I just discovered the missing solution here: http://osxdaily.com/2012/11/15/stop-software-update-mac-os-x/ You can selectively disable notifications about specific software updates you don't care about (like useless App updates) by control-clicking the update inside the App Store to reveal a hidden "Hide Update" option. This is best for those who want to ...


12

To turn off notifications: sudo defaults write com.apple.usbd NoiPadNotifications -bool YES sudo killall usbd To turn them back on: sudo defaults delete com.apple.usbd NoiPadNotifications Via Craig Hockenberry


11

The Facebook integration wasn't available when this question was asked - it was added in OS X 10.8.2 in September 2012. To activate Twitter and Facebook sharing, you must first configure at least one Twitter and / or Facebook account via System Preferences -> Mail, Contacts & Calendars -> Add Account -> Twitter (or Facebook). Once you've ...


9

The proper answer to this question is "No." But that's not a very satisfying answer. So if you're determined to have keyboard shortcuts for Click to Tweet in Notification Center, this is what you can do: Warning: this is a complete and utter hack, but it seems you can (for now; this might break easily) trigger the Tweet button through a very delicate use of ...


9

You might wonder why a two finger gesture on the trackpad from the right edge to the left edge doesn't always allow you to quickly access the brand new Notification Center in Mountain Lion. Apple's instructions state: Swipe to the left from the right edge of the trackpad to visit Notification Center anywhere in OS X. Even from a full-screen app. What ...


8

You can now do this with Growl2 (available from the App Store). Install Growl and enable "OS X Notifications" (screenshot) Additionally, you'll need to install GrowlNotify for a command-line tool to send Growl notifications. You can download this tool for free on the Download page. You can now generate Growl notifications from the command line, which ...


8

The simplest way at the moment would be to install one of the github growl notifiers, either githubnotifier or gitifier, which forwards github notifications to growl and then use hiss (a separate app) to forward growl messages to the Notification Centre.


8

Unfortunately, you can't change the location where Notification Center Alerts and Banners appear. This is a huge gripe of mine as well, and I highly encourage you to complain about this issue to Apple here: http://www.apple.com/feedback/macosx.html Hopefully they will one day change this. I also have not been able to find or formulate any hacks. I, too, am ...


7

The Notification settings aren't laid out very well. To fully disable notifications, you need to change pretty much all the settings on an app's notifications page in Settings. Make sure you have turned off every switch circled here, and change Alert Style to None:


7

Apps can hook into the sharing options with the new NSSharingService API. It sounds like custom LaunchBar actions can be made with any UNIX executable file, so you could probably write a small command line tool (or you may need to build an actual app — you'll have to test it out) which activates this API (using NSSharingServiceNamePostOnTwitter), and that ...


7

There is a configurable keyboard shortcut to open Notification Center: Other than that, there seems to be no way to configure any keyboard shortcuts. The closest I could get is discovering that you can set Notification Center as the action for a hot corner. If you wanted to do this when a key is pressed, you can try combining this with AppleScript (like ...


7

In OS X 10.8 it's called burn complete.aif (or burn failed.aif–they are the same sound) and is found in /System/Library/Components/CoreAudio.component/Contents/SharedSupport/SystemSounds/system/. To get into CoreAudio.component, right-click the file and select Show Package Contents.


6

I can only say that this is true. Mail.app has to be open to get notifications. A workaround: Open Mail, and close it with the red dot (or command+w). So the blue point under the icon in the Dock is still there. So you have no window open but mail is still getting emails. There is no app or anything there yet to fix this "problem".


6

Depending on your mouse and driver software, your best bet would probably be to set a keyboard shortcut for Notification Center and program your mouse button to trigger that shortcut. You can set up the shortcut in System Preferences -> Keyboard -> Keyboard Shortcuts -> Show Notification Center. The setup for your mouse driver will vary, but on a Razer ...


5

I'm a Mac OS X developer and I just finished adding Notification Center support to my app. For what it's worth, here's what I found out: By default, notifications (the alerts) are NOT shown if the application is already frontmost (this explains why alerts refuse to show up sometimes, and you only see the notification in Notification Center). This is up to ...


5

I have just disabled checking for updates automatically from System Preferences: I install updates manually from App Store or with sudo softwareupdate -ia. I tried adding this command to the root's crontab (and not restarting after updates): 0 14 * * * /usr/sbin/softwareupdate -ia I didn't have any issues at first, but after the 10.8.3 update, ...


4

Yes, you can, you just have to do some digging around to find the particular one that is causing the noise. If you go into your Settings application on your iDevice, and go into the Notifications Options Tab and look for apps that have the sounds attribute available. As seen the in the screen shot below highlighted in red. Selecting that one will take ...


4

While it doesn't work for "click to Tweet", there are indeed three keyboard shortcuts that work with Notification Center. They are ↑, ↓, and return. Combined with the ability to assign a keyboard shortcut to open Message Center, normal messages can be responded to using the keyboard alone. The Share button and the Mute switch do not seem to respond to these ...


4

You can get the home timeline from the Twitter API and display tweets using terminal-notifier. #!/usr/bin/env ruby -KU -rubygems require 'twitter' require 'cgi' Twitter.configure do |config| config.consumer_key = "" config.consumer_secret = "" config.oauth_token = "" config.oauth_token_secret = "" end timeline = Twitter.home_timeline first = ...


4

You can try the following: Create a smart mailbox. Choose "Message is in Mailbox" as a condition. Select the inbox of the account where you like to get notifications. After creating the smart mailbox, visit Mail's preferences. At the General tab, set "New message notifications" to your newly created smart mailbox.


4

There is an "include" and a "do not include" section in Notification Center. Tap "edit" at top right corner of the Notification Center. This allows you to drag apps around in the Notification Center. Hold the app you want to stop push notifications from, by the lines on the right hand side to its name, and drag it into "do not include" section. It will ...


3

For twitter: Go to your system preferences, type in twitter you should get a drop down menu called Set up a Twitter account: click on Set up a Twitter account and you should be taken to a screen where you can enter your twitter details now for Facebook you'll have to wait to the fall of this year (2012) since apple will add this feature later. ( or if ...


3

Unfortunately, there's currently no way to have Mail.app check for mail if it's not running. But it is possible to hide the badge! In System Preferences, open Notifications and select Mail. There, deselect 'Badge app icon with notification count'.


3

The notifications that you receive for Mail within Notification Center are local notifications, not push notifications from some Apple server. As such, the program has to be running in order for the action that will trigger a notification to be able to do so. Notification Center cannot check for new mails by itself, it has no in-built capabilities for ...


3

Brilliant command shift D. Adding: display dialog "Tweet?" default answer "" buttons {"OK"} default button 1 set mytweet to text returned of result tell application "System Events" tell process "Notification Center" click menu bar item 1 of menu bar 1 click button 1 of UI element 1 of row 2 of table 1 of scroll area 1 of window ...


3

Taking this all one step further and putting together what we've learned so far, here's a fully programatic tweet: tell application "System Events" tell process "Notification Center" click menu bar item 1 of menu bar 1 click button 1 of UI element 1 of row 2 of table 1 of scroll area 1 of window "window" keystroke "Content of the ...


3

None that I know of (and in fact I think that having a Twitter/Facebook quick post area inside the notifications area is actually dumb (should be a widget really), and I have turned it off) but you can use the command line to both send a read tweets, as mentioned in this webpage, extracts below: To display a list of tweets (replace osxdaily with a twitter ...



Only top voted, non community-wiki answers of a minimum length are eligible