• 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 at frames in IE 5 (OS9)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Dialog box with secure text entry?
  • Next by Date: RE:Storing preferences, part deux
  • Previous by thread: getting at frames in IE 5 (OS9)
  • Next by thread: How can you tell whether you have a reference or not?
  • Index(es):
    • Date
    • Thread