更改称为通知的 applescript 的图标

use*_*369 5 macos applescript osx-mavericks

借助 OSX Mavericks,我们现在可以非常轻松地使用 applescript 发出通知。但是,\xe2\x80\x99t 似乎没有一种方法可以更改自定义图标的图标。有办法做到这一点吗?

\n

Par*_*fna 4

display notification将采用应用程序图标。您可以在 applescript 应用程序的捆绑内容中设置图标。

set fileName to choose file "Select a Folder"
display notification "Parag Bafna" subtitle "Its working" & fileName
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

display notification    text    required
with title  text    optional
subtitle    text    optional
sound name  text    optional
Run Code Online (Sandbox Code Playgroud)