Linked Questions

10
votes
1answer
8k views

Send notification from command line [duplicate]

On Mac OS X, some applications will display a notification that appears briefly in the upper-right corner (e.g., when I receive email). Is there a way to generate a notification from the command-line?...
1
vote
1answer
998 views

Cron log to Notification bar [duplicate]

I have a couple of cron jobs that I would like to log output to the Notification app in Mountain Lion. I've searched and and figured out how to log cron output by editing the plist file, but nothing ...
60
votes
15answers
46k views

How to get a notification when my commands are done

I'm running a series of commands on the command line that takes approximately twenty minutes to complete. I'd like to see some sort of notification on my Mac when these are finished so I don't need ...
17
votes
4answers
144k views

How to hide preview of text contents from Messages.app notifications in Mountain lion?

In Mountain Lion's Notification Centre, I don't like having a notification pop up with the contents of an iMessage text I just got, but I do want to have notifications about it happening. Is there a ...
18
votes
3answers
7k views

Get low battery notifications for mouse earlier

Is it possible to tweak the % that I get warning of low battery for my Magic Mouse 2? I currently only get it at 2% at which point it's very close to dying so I have to stop what I'm doing and plug ...
5
votes
2answers
4k views

How can I show the full notifications in the notification center?

I cannot read the full notification (see attached). How can I?
6
votes
1answer
2k views

Possible to change Quick-Reply buttons in Mail Notifications?

Yosemite introduced a new feature to quick reply within a notification. Mail offers the options to trash a new E-Mail or reply to it. But, instead of trash, I want to archive it. Can I change ...
0
votes
1answer
2k views

How to trigger Notification Centre notification from JavaScript? [closed]

The other question asks the same but using AppleScript. Apple introduced JavaScript as a new language for Automation in OS X 10.10.
1
vote
2answers
2k views

How to make a message appear on the screen?

I'm trying to set up a kind of intercom system between Mac, Windows, and Linux boxes at home. Question: How can I make an arbitrary message appear on the graphical screen of Mac OS X? For instance, ...
0
votes
1answer
1k views

Display a notification with AppleScript

I would like to trigger a notification with AppleScript. I have seen How can I trigger a Notification Center notification from an AppleScript or shell script? but I would like to have a native ...
6
votes
0answers
673 views

Can I trigger an Automator workflow from a Notification Center alert?

I know there are ways to trigger Notification Center alerts inside an Automator workflow. I'd like to do the reverse. I'd like to set up an event listener which, when a particular app emits a ...
0
votes
1answer
207 views

Is there a way to get a list of all currently running program's window titles with AppleScript?

I'm looking to write a script which outputs a list of all the window titles of all the currently running programs. Is there any way to do this with AppleScript? I tried running the following code: ...
2
votes
2answers
56 views

OS X - build a bash function to send notifications via osascript / Applescript

Hoping some one can point out what I am doing wrong. After looking through several threads, plus lots of experimentation, it feels like something simple is wrong. The threads I read include How can I ...
2
votes
1answer
45 views

Pipe Terminal Output To Notification, If Output Contains Specific Phrase?

I have a long series of commands that I run on a semi-regular basis. Sometimes, completion of the commands requires user input via password prompt or other responses and sometimes information is ...