Is there a command equivalent to pressing the “Cancel” button in a dialog? I’ve tried “quit me”, but that either doesn’t do anything or quits the finder. Thanks :).
Try error number -128
display dialog "hi"
error number -128
display dialog "bye"
– Rob