khang0001 Posted August 24, 2010 Share Posted August 24, 2010 If I Use Fire fox , i can search text by function _ffsearch , but I must use IE , and I don`t know what the function can search the text in IE. please help me. Link to comment Share on other sites More sharing options...
Juvigy Posted August 24, 2010 Share Posted August 24, 2010 _IEBodyReadText or _IEBodyReadHTML should help you. Look up the help file. Link to comment Share on other sites More sharing options...
khang0001 Posted August 24, 2010 Author Share Posted August 24, 2010 how can I use _IEBodyReadText to search the test, I try but nothing to resust. Please help me example : when I go to url : www.google.com how can I search how many the text google in the url : www.google.com help me Link to comment Share on other sites More sharing options...
Realm Posted August 24, 2010 Share Posted August 24, 2010 (edited) out of help file #include <IE.au3> $oIE = _IECreate ("www.google.com") $sText = _IEBodyReadText ($oIE) MsgBox(0, "Body Text", $sText) if you need help with something more specific, it would be a lot easier if you posted an example of your code. Edit: Edited the example to give you working code for google Edited August 24, 2010 by Realm My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
rvn Posted August 24, 2010 Share Posted August 24, 2010 if you only to read text,,, simply, copy paste to notepad. Link to comment Share on other sites More sharing options...
khang0001 Posted August 24, 2010 Author Share Posted August 24, 2010 (edited) example my code is #include <IE.au3> $oIE = _IECreate ("www.google.com") $sText = _IEBodyReadText ($oIE) and I want to count how many word "google" in this site "www.google.com" if > 3 word then output the box " good" if <3 word then output the box " bad" please help me Edited August 24, 2010 by khang0001 Link to comment Share on other sites More sharing options...
rejectpenguin Posted August 24, 2010 Share Posted August 24, 2010 example my code is #include <IE.au3> $oIE = _IECreate ("www.google.com") $sText = _IEBodyReadText ($oIE) and I want to count how many word "google" in this site "www.google.com" if > 3 word then output the box " good" if <3 word then output the box " bad" please help me You could use StringInStr. If StringInStr($sText,"google",0,3) then msgbox(0,0,"good") Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now