Confirmation Dialog Box with Timeout
I have a automator.app (using AppleScript) that I use to connect to my local server when I am on the same network.
--------------
It starts with the 'Ask for Confirmation' command.
Select ‘OK’ if you are on the Local Network and want to connect to the server.
[OK] [Cancel]
Then it runs 5 small AppleScripts to connect to 5 folders on my local server.
---------
If I am traveling and cannot connect to my local network, I cancel the action, otherwise I select [OK] and connect to my local server.
Because most of my use in on my local network, I would like to change the 'Ask for Confirmation' to an AppleScript that will pause for 'xx' seconds then automatically run if not canceled or run before the time out if I choose.
the dialog would be something like.
You will be connected to your local server in 'xx' second.
Select ‘OK’ to connect now.
Press cancel if you are not on your local network.
[OK] [Cancel]
(note: is would be nice if the 'xx' time would count down to indicate time remaining)
Can someone offer a solution? You help is appreciated. Thanks.