This is incredible basic but I just cannot find out how to close a list even when a default value has been selected other of course than clicking OK. The following bit of code opens a list and defaults to a selection for the first item. what I would like to do is keep it up for a couple of seconds and close using the default selection.
set OptionList to {"1 minute", "5 minutes", "15 minutes", "1 Hour", "4 Hours", "1 Day", "1 Week", "1 Month"}
activate
set TimeInt to choose from list OptionList with title "Intervals" with prompt "What's the Time interval?" default items "1 minute"
There are too many items to use a dialog box so giving up after is not an option.
Thanks
Peter