• 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
Re: Safari script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari script


  • Subject: Re: Safari script
  • From: deivy petrescu <email@hidden>
  • Date: Wed, 2 Apr 2008 22:30:33 -0400


On Apr 2, 2008, at 11:56, Ed Stockly wrote:
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

Interesting!
I am not an Earthlink subscriber and have a few of those Earthlink pages coming up.
If you are also not an Earthlink subscriber and have the "same page", may be this page is settable via a preference p-file.
I tried but could not find it... Yet.
However if this file it is found, then yes! The page can be set via AppleScript.
Wanna help me find it?


Deivy
_______________________________________________
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
  • Follow-Ups:
    • Re: Safari script
      • From: Ed Stockly <email@hidden>
References: 
 >Decimal Place Limiting (From: John Amerkhanian <email@hidden>)
 >Re: Decimal Place Limiting (From: Geoff Sheehan <email@hidden>)
 >Re: Decimal Place Limiting (From: Michelle Steiner <email@hidden>)
 >Safari script (From: Ed Stockly <email@hidden>)

  • Prev by Date: Re: Decimal Place Limiting
  • Next by Date: Problem with Mail:Services:Script Editor:Make New Applescript
  • Previous by thread: Re: Safari script
  • Next by thread: Re: Safari script
  • Index(es):
    • Date
    • Thread