Reduce timeout while trying to connect to FMP server
Reduce timeout while trying to connect to FMP server
- Subject: Reduce timeout while trying to connect to FMP server
- From: Bert Groeneveld <email@hidden>
- Date: Fri, 20 Jan 2012 10:28:09 +0100
Hello, I wrote a small applescript to simplify the login procedure to a FileMaker Pro server. I want to catch the error if the server is unavailable. I want to wait only 10 seconds before the error dialog pops up (and not the default 60 seconds of the Applescript timeout). So I thought it was a good idea to try something like this. Unfortunately changing the value of the timeout has no effect. Can anyone help how to fix this?
tell application "FileMaker Pro" try with timeout of 10 seconds -- has no effect, still have to wait 60 seconds getURL loginURL -- non existing url just to test end timeout on error display dialog "FileMaker Pro Server not found." return end try end tell
Thanks in advance, Bert. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden