有时候写一些MacOS的小脚本,(例如AppleScript,或者Shell),需要在执行后,给自己一个发一个系统提醒通知,就想其他软件一样给处的Notification。 来看下现成的例子,直接复制过去可用!效果如下: display notification "通知内容" with title "通知标题" display notification "通知内容" with title "通知标题" subtitle "副标题" display notification "通知内容" with title "通知…