>but in this case view source is turned off

Turn it back on!


require 'win32ole'

shell = WIN32OLE.new('Shell.Application')
windows = shell.windows
return unless windows
windows.each do |window|
        next unless window.fullname =~ /iexplore.exe/
        window.toolbar = true
         window.menubar = true
        window.resizable = true
end
 
Hey, I like that!  That script will get put to good use in future. 
 
Alas, it won't fix my current problem.  I can already view source for this particular window, but it's showing me source for just one of the frames, and not the one I care about.  Even clicking on the frame I want and then looking at view source doesn't change anything.  This page was written by extremely sharp individuals who I believe were intentionally trying to obfuscate.  The page has an unnamed frame, which I could only get a handle on by doing this:
 
    $main_frame = $ie.frame("")
 
Within this frame are other frames.
 
If you can think of other ways to get at the source of specific frames, please let me know.  I'll also try AutoIt as a previous poster recommended.
 
Thanks,
Mike
 
P.S.  Do you have a good reference for that kind of window scripting, especially IE scripting?  Is there a way to banish those annoying splash screens that s-l-o-w Java applications keep putting up in front of my work?
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to