Tag Info

Hot answers tagged

121

With Mavericks and later, you can do this using AppleScript's 'display notification': display notification "Lorem ipsum dolor sit amet" with title "Title"                            That's it—literally that simple! No 3rd-party libraries or apps required and is completely portable for use on other systems. 10.9 notification on the top, 10.10 DP in the ...


50

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 ...


23

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 ...


20

You can now simply go to System Preferences > App Store, and turn off "Automatically check for updates." No messing with firewalls, and just works with App Store. So just remember to check every now and then manually to find out when you have updates!


16

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


15

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 ...


15

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 ...


13

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 ...


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

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, ...


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

The best solution I've found for this so far has been to ⌥+'click' the notifications menu icon in the top right and disable notifications. This resets every day though.


9

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 ...


8

You can use Terminal Notifier. Once installed run a command like this: long-running-command && terminal-notifier -message "Done" -title "Done" When long-running-command finishes you will get a notification.


8

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 ...


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

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 ...


8

To return to the top of a long web page, just tap the Status Bar (at the top that also display the current time and battery status) instead of swiping. It works in many other apps too.


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

I recently discovered that you can dismiss individual notifications by clicking on the app store update notification, and swiping/dragging to the right. I do it about 20x a day because I don't have the time to restart my iMac every day for software updates.


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.


7

Go System Preferences > Security & Privacy > Privacy [tab] Uncheck and recheck 'Weather' and it's back to normal See below img


6

You can create Automator service to run this Applescript and give it a keyboard shortcut in the System Preferences Keyboard shortcuts This will close Alert and banners Notification In Automator choose a new service Add a Run Applescript Action and replace it's code with: my closeNotif() on closeNotif() tell application "System Events" ...


6

You can toggle directly by swiping up from the very bottom of the screen… ...from the lock screen, home screen or in most apps [in some apps it's difficult to get the swipe to be recognised if the app uses the same part of the screen for a function.]


6

There is a SQLite database located at ~/Library/Application Support/NotificationCenter that looks to house all the information for registered Apps in Notification Center. The Mac App Store does have some entries in the DB, but I don't see anything that would allow you to change the settings. Perhaps someone with more knowledge could poke around and find ...


6

If you start Terminal, enter sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool False and restart, this did the trick for me in Mavericks.


6

I had the same problem yesterday, and found this tool called macbartender. It will be paid software, but is currently free in a beta release status. For my Mountain Lion Mac, the icon is gone but the other notification functionality remains.


6

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 ...


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".



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