You don't say if you are accessing your files on a remote server but if I assume that you are here is what I would do.
Create a local file with a relationship to the remote file then create a startup script which checks if the relationship is valid
Adjust Window; Minimise
If Not (IsValid(Relationship::FieldName)
PerformScript; Remote 'Open' script
Set the script as a Start Script
Don't forget to create user priveleges tin the local file to pass to the remote file.
Hope that helps Peter
Actually, no this is NOT what I mean. I mean to say that I have a normal desktop solution that need to check if there's a valid internet connection (not for connecting to a FileMaker host).
You could call a shell script (using Perform AppleScript or Send Event script step) that pings the host or sends a HTTP request using telnet on port 80.
I doubt, however, that this will be much faster than using a WebViewer. Also, many providers have configured the firewall so that ping requests are not allowed from outside.
Dr. Martin Braendle
Informationszentrum Chemie Biologie Pharmazie
HCI G 5.3
+41 44 632 29 48 Telefon
+41 44 633 12 87 Fax
Datum: Thu, 2 Feb 2012 17:38:00 -0800
Betreff: Re: Checking for Internet Connection