Is Mathematica able to communicate with macOS's native Notification Center in order to notify me if an evaluation finishes in any of my open notebooks?
I'm looking for a solution similar to this one except it shouldn't rely on Growl.
A quick Google search returned:
Based on this, we can use
notify[asc_] :=
RunProcess[{"osascript", "-e",
StringTemplate["display notification \"`message`\" with title \"`title`\""][asc]}]
notify[<|"message" -> "I'm finished!", "title" -> "Mathematica"|>]
You can customize this further to your needs.
CellEpilogfrom the thread that you yourself linked. You might try to set this in the stylesheet. – Szabolcs Oct 30 '17 at 14:23notify[asc_] := RunProcess[{"osascript", "-e", StringTemplate[ "display notification \"message\" with title \"title`""][ asc]}, "StandardOutput"]notify[<|"message" -> "I'm finished!", "title" -> "Mathematica"|>]`, and it works in MMA 11.2. It gives me a notification.
– José Antonio Díaz Navas Oct 30 '17 at 14:27