Re: Internet Explorer +
Re: Internet Explorer +
- Subject: Re: Internet Explorer +
- From: Andrew Oliver <email@hidden>
- Date: Mon, 28 Apr 2003 21:42:08 -0700
While you can save the page to disk using IE's:
openURL "
http://server/file.html" to file "path:to:saved.html"
there's no need to save it to an intermediate file.
IE has a command 'GetSource' which will return the source of the frontmost
window as an AppleScript text object. You can then use normal AppleScript
text manipulation to extract the text you want and speak it.
If you do really want to pass it into Tex-Edit Plus:
tell application "Internet Explorer"
set theText to GetSource
end tell
tell application "Tex-Edit Plus"
make new document with properties {contents:theText}
end tell
Andrew
:)
On 4/28/03 9:00 PM, "Monee C. Kidd" <email@hidden> wrote:
>
Thanks to all of you who answered my question about recording. I
>
suppose that's what happens when a function changes across versions,
>
but the documentation for the old version is still out there.
>
Everything I was reading told me the finder was recordable, but it
>
wasn't working for me. I get it now, thanks.
>
>
My latest question should be another simple one. I am trying to go to
>
a specific URL in Internet Explorer, then read part of what is there.
>
I thought I would save the contents of the page to a text file, then
>
have Tex-Edit open the resulting file and speak the variable text
>
that appears between two constant strings. I've figured out how to do
>
most of it, except how to get IE to save the page as a text file. I
>
also thought I could select the text on the page and paste it into a
>
blank file, but I can't figure out how to do that either. Can anyone
>
point me in the right direction?
>
>
(I've printed out the first few parts of the Language Guide, so
>
hopefully I'll soon be able to answer my own stupid questions.)
>
_______________________________________________
>
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.
_______________________________________________
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.