Safari script
Safari script
- Subject: Safari script
- From: Ed Stockly <email@hidden>
- Date: Wed, 2 Apr 2008 08:56:09 -0700
I have an appleScript (developed with help from this list, thank
you) that displays pages on a Safari browser, switching to the next
page every 30 to 60 seconds. It's used on big, wide screen LCD
monitors mounted on walls around our newsroom to display pages from a
list of our own web pages and a few others.
These pages are generally very complex with lots of animation,
javascript and ads and they are very error prone.
The script is able to detect nearly all errors, and keeps working
around the clock.
When the script encounters a page that it can't access, the browser
redirects to a generic error detection page that is on our local
network. The script is able to detect when this page is displayed,
and will jump to the appropriate error handling routine. (These
outages always temporary and the script resets and tries again).
The problem is that I can't really release the script in the wild
because the there doesn't seem to be a reliable and consistent way to
determine if an error page is displayed. At home an invalid address
takes me to an Earthlink search page. I'm sure every ISP and every
corporate IT department has a different strategy and different
redirect page to display when a browser tries to access an
inaccessible address.
Is it possible to control what page Safari will display when an
address is inaccessible, or to otherwise detect, in an appleScript if
an address is not available?
ES
_______________________________________________
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