File: notify-send.scpt

package info (click to toggle)
catgirl 2.2a-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 424 kB
  • sloc: ansic: 5,792; sh: 124; makefile: 70; objc: 61
file content (9 lines) | stat: -rw-r--r-- 192 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/usr/bin/osascript

on run argv
	if count of argv is 2 then
		display notification (item 2 of argv) with title (item 1 of argv)
	else
		display notification (item 1 of argv)
	end if
end run