Debian Codegraph @

scripts/notify-send.scpt

raw
1 #!/usr/bin/osascript
2
3 on run argv
4 if count of argv is 2 then
5 display notification (item 2 of argv) with title (item 1 of argv)
6 else
7 display notification (item 1 of argv)
8 end if
9 end run