Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to take a text from a frame in the internet explorer
#2
Capture element whose tag is BODY. Uncheck Name.

Example with http://msdn.microsoft.com/library/

Code:
Copy      Help
Htm el=htm("BODY" "" "" "+IEFrame" "3/2" 0 0x20)
str s=el.Text
ShowText "" s

If you cannot capture BODY element, capture some other element and click < button until you see BODY in Tag field.

This gets whole text from that frame. If you need only some element from it, don't use BODY tag, but instead use this: Capture the element, uncheck Name, check Html, delete part of HTML, leaving only what does not change when you refresh the frame, and replacing deleted parts with *. This should work in many cases.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)