Skip to content

Commit 875c6ca

Browse files
committed
add sound; remove on error
1 parent 34da767 commit 875c6ca

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

snippets/OS.Notification Message.sublime-snippet

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
<snippet>
22
<content><![CDATA[
3-
--via http://macscripter.net/viewtopic.php?id=24662
4-
display notification with title "${1:text}" subtitle "${2:text}"
5-
${3:delay ${4:1}}
6-
7-
${5:on error errorMessage number errorNumber
8-
display alert errorNumber message errorMessage}
3+
display notification with title "${1:text}" subtitle "${2:text}" ${3:sound name "${4:Purr}"}
4+
${5:delay ${6:1}}
95
]]></content>
106
<tabTrigger>OS:Notification Message</tabTrigger>
117
<scope>source.applescript</scope>

0 commit comments

Comments
 (0)