Implement proper error handling, add godoc comments, and implement expressions

This commit is contained in:
2021-03-01 13:43:10 -08:00
parent 43c226257b
commit 5fed3e3ce4
7 changed files with 279 additions and 88 deletions

View File

@@ -1,5 +1,6 @@
set y to (displaydialog with text "Hello" with title 12 with type "yesno")
displaydialog with text "Goodbye" with title 21 with type "error"
doshellscript with content "notify-send Test Notification"
set g to (displaydialog with text "Test 2" with title 30 with type "entry" with default "text")
set x to $g
set y to (display-dialog "Hello" with title 12 with type "yesno")
display-dialog "Goodbye" with title 21 with type "error"
do-shell-script "notify-send Test Notification"
print (display-dialog {"Test " + "2"} with title 30 with type "entry" with default "text")
set x to $y
print { 3+4 }