Re: getting at frames in IE 5 (OS9)
Re: getting at frames in IE 5 (OS9)
- Subject: Re: getting at frames in IE 5 (OS9)
- From: julifos <email@hidden>
- Date: Fri, 07 Feb 2003 12:08:17 +0100
>
Hi I'm trying to get at the source of frames in IE 5. GetSource works if I
>
open the frame in a new window, but how do I do it to individual frames.
>
I'm hoping I've stupidly missed something obvious :-)
>
>
tia
>
>
rhb
As long as I know, you can't get the source of a frame via "GetSource"
command.
While IE make us available that command or access to JScript method
"getSource()", perhaps you can get a list of url of pages contained within
the frames:
####################
tell application "Internet Explorer"
set urlses to do script "
var frame_urls = [top.location];
for (i=0;i<window.frames.length;i++){
frame_urls[i+1] = window.frames[i].location;
}
frame_urls"
end tell
set AppleScript's text item delimiters to ","
set urlses to urlses's text items
set AppleScript's text item delimiters to {""}
####################
The open-getsource each one a time...
Or d/l every url using IE itself (GetURL "..." to "..."), read-returning its
contents...
JJ
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
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.