Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 16626a56a0
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (28 sloc) 0.851 kb
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>display dialog ${1:"${2:text}"}${3/.+/ ¬
with icon /}${3:1} ¬
buttons {"${5:Cancel}", "${6:Other}", "${4:OK}"} ¬
default button "$4"
set button_pressed to button returned of result
if button_pressed is "$4" then
${7:-- statements for default button}${8/.+/
else if button_pressed is "$5" then
/}${8:-- statements for cancel button}${9/.+/
else
/}${9:-- statements for other button}
end if
</string>
<key>name</key>
<string>OK/Cancel/Other</string>
<key>scope</key>
<string>source.applescript</string>
<key>tabTrigger</key>
<string>dialog</string>
<key>uuid</key>
<string>7DD1F1C1-3E7B-4157-951E-58B22BA00AB9</string>
</dict>
</plist>
Jump to Line
Something went wrong with that request. Please try again.