• 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: getting source in default web browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting source in default web browser


  • Subject: Re: getting source in default web browser
  • From: John Delacour <email@hidden>
  • Date: Mon, 14 Apr 2003 21:26:31 +0100
  • Mac-eudora-version: 6.0a15

Users of Eudora 5.2.1, Outlook Express, Entourage etc. should be able to read the 8-bit characters in this message.

Here's a mod of the script I posted earlier. I see that neither OmniWeb nor Chimera/Navigator nor Mozilla are able to get the source in this way, but you can tell them to download the source to a file and then read the file.




set browser_ to "Safari"
(* Safari *)
set ls to {"+AKs-class conT+ALs of front document as string"}
(* IE *)
set end of ls to "+AKs-event MSIESORC+ALs item 1 of (+AKs-event WWW!LSTW+ALs)"

tell application "Finder" to if browser_ is not in +AKw
name of processes then return

repeat with s in ls
tell application browser_
try
set source_ to run script s
return source_
on error e
end try
end tell
end repeat
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: getting source in default web browser
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: newbie( Mail App)
  • Next by Date: Re: "move" in OS X
  • Previous by thread: Re: getting source in default web browser
  • Next by thread: Re: getting source in default web browser
  • Index(es):
    • Date
    • Thread