Linked Questions

16 votes
1 answer
13k 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?...
D.W.'s user avatar
  • 4,037
3 votes
1 answer
2k views

Notify when time-consuming task is finished in the terminal [duplicate]

Is there a way to get notified when some terminal task is finished "in the background" in the terminal? I need to get notified when npm run build is over which can take up to 15 mins. I've ...
Illia Panchenko's user avatar
2 votes
1 answer
2k 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 ...
Christopher Johannsen's user avatar
90 votes
19 answers
74k 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 ...
Amir Afghani's user avatar
  • 1,003
58 votes
14 answers
65k views

Alternative ways to set a timer on macOS

I'm trying to set a timer on macOS to no avail, as Siri prompts me to set a reminder instead: Most, if not all apps found on the Mac App Store don't provide this functionality without being too ...
bb216b3acfd8f72cbc8f899d4d6963's user avatar
45 votes
3 answers
21k 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 ...
DEfusion's user avatar
  • 571
21 votes
4 answers
162k 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 ...
abyx's user avatar
  • 251
9 votes
2 answers
6k views

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

I cannot read the full notification (see attached). How can I?
jds's user avatar
  • 222
9 votes
1 answer
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 ...
ohboy21's user avatar
  • 5,964
2 votes
1 answer
2k 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: ...
Claudiu's user avatar
  • 461
3 votes
2 answers
1k views

How can I escape spaces in bash function to send Native OS 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 ...
Kevin's user avatar
  • 117
3 votes
2 answers
2k views

“terminal-notifier.app” cannot be opened because the developer cannot be verified

When I update os from Big Sur to Monterey and open terminal-notifier.app it shows me the message “terminal-notifier.app” cannot be opened because the developer cannot be verified. Why it shows me the ...
A.A Noman's user avatar
  • 133
1 vote
2 answers
3k 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, ...
n.r.'s user avatar
  • 121
0 votes
1 answer
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.
Sridhar Ratnakumar's user avatar
0 votes
1 answer
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 ...
Matteo's user avatar
  • 8,945

15 30 50 per page