如何在Mac上弹出一个通知提醒

2018-05-18  本文已影响336人  一双鱼jn

使用AppleScript弹出一个提醒

display notification "Lorem ipsum dolor sit amet" with title "Title"

使用命令行

/usr/bin/osascript -e "display notification \" 提醒内容 \" with title \"提醒标题\""
上一篇 下一篇

猜你喜欢

热点阅读