Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
htm text find next ..second question
#3
Code:
Copy      Help
int IEFrame = win("" "IEFrame"); ;;mov+ 1080 0 840 990 IEFrame

lpstr keyword = "apple"
str price = 1000
Htm eSpan eParent

eParent=htm("BODY" "" "" IEFrame)

MSHTML.IHTMLElement2 e2=+eParent.el
MSHTML.IHTMLElement2 e3=+eParent.el
foreach eSpan.el e2.getElementsByTagName("TD")
foreach eSpan.el e2.getElementsByTagName("SPAN")

    str s=eSpan.Text
    out s
    if find(s keyword 0 1)>=0
        act IEFrame
            out "keyword find"
                eSpan.Mouse(0); wait 1

Thank you for good information.
Using the source of the web page in the
Only information about the keywords I want to click.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)