• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Reduce timeout while trying to connect to FMP server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Open Bugs
  • Next by Date: Re: Open Bugs
  • Previous by thread: Get OS version of iOS device connected to Mac OS X
  • Next by thread: Re: Open Bugs (addendum)
  • Index(es):
    • Date
    • Thread