Re: getting source in default web browser
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.