init
This commit is contained in:
@@ -0,0 +1 @@
|
||||
prog-mode
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: comment
|
||||
# --
|
||||
(*
|
||||
$0
|
||||
*)
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: considering
|
||||
# --
|
||||
considering $1
|
||||
$0
|
||||
end considering
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: considering-application-responses
|
||||
# --
|
||||
considering application responses
|
||||
$0
|
||||
end considering
|
||||
@@ -0,0 +1,4 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: display-dialog
|
||||
# --
|
||||
display dialog "$0"
|
||||
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: if
|
||||
# --
|
||||
if $1 then
|
||||
$2
|
||||
else
|
||||
$0
|
||||
end if
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: ignoring
|
||||
# --
|
||||
ignoring $1
|
||||
$0
|
||||
end ignoring
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: ignoring-application-responses
|
||||
# --
|
||||
ignoring application responses
|
||||
$0
|
||||
end ignoring
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: on
|
||||
# --
|
||||
on $1
|
||||
$0
|
||||
end $1
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: repeat
|
||||
# --
|
||||
repeat $1
|
||||
$0
|
||||
end repeat
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: repeat-until
|
||||
# --
|
||||
repeat until $1
|
||||
$0
|
||||
end repeat
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: repeat-while
|
||||
# --
|
||||
repeat while $1
|
||||
$0
|
||||
end repeat
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: repeat-with
|
||||
# --
|
||||
repeat with $1
|
||||
$0
|
||||
end repeat
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: tell-application
|
||||
# --
|
||||
tell application "$1"
|
||||
$0
|
||||
end tell
|
||||
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: tell-application-to-activate
|
||||
# --
|
||||
tell application "$1" to activate
|
||||
$0
|
||||
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: try
|
||||
# --
|
||||
try
|
||||
$1
|
||||
on error $2
|
||||
$0
|
||||
end try
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: using-terms-from-application
|
||||
# --
|
||||
using terms from application "$1"
|
||||
$0
|
||||
end using terms from
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: with-timeout-of-seconds
|
||||
# --
|
||||
with timeout of $1 seconds
|
||||
$0
|
||||
end timeout
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: with-transaction
|
||||
# --
|
||||
with transaction
|
||||
$0
|
||||
end transaction
|
||||
Reference in New Issue
Block a user