I know I read about how to do this somewhere but I can’t for the life of me find it on the forums and it’s really irritating me… Anywho, I just want to know how you display a dialog, but if the user fails to provide any input after a certain time, it will just go with the default answer and continue the script.
Try something like this:
display dialog "" giving up after 1
FYI, display dialog
can be found in the StandardAdditions (scripting addition) dictionary.
When using the “giving up after” X, what are the time units of X?
seconds, as with the delay X function
Straight from the dictionary of StandardAdditions: