Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

11 lines (9 sloc) 490 Bytes
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
display dialog "Hello there from AppleScript. What shall I read to you out loud?" default answer "Bye bye" buttons {"Stop now", "Please read to me!"} default button 2 cancel button 1 with title "My super script" with icon note
say text returned of result
on error number -128 --user pressed cancel
display notification "Please come back soon!" with title "No worries"
end try
You can’t perform that action at this time.