clearguy Posted June 9, 2006 Share Posted June 9, 2006 Hi, I wrote this code to open a website and to search a string on this site,but it cannot find the string: #include <IE.au3> $oIE = _IECreate () _IENavigate ($oIE, "http://www.page.html") MsgBox(0,"info","page loaded") $source = _IEDocReadHTML($oIE) $result = StringInStr($source,"function") MsgBox(0,"info","there is:",$result) what is wrong? Thanx for your help I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
bucky002 Posted June 9, 2006 Share Posted June 9, 2006 Are you sure that it's called "www.page.html"? Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted June 9, 2006 Moderators Share Posted June 9, 2006 Not sure if it was the cause of your problems, but you had a "," instead of an "&". #include <IE.au3> $oIE = _IECreate ("http://www.page.html") MsgBox(0, "info", "page loaded") $source = _IEDocReadHTML ($oIE) $result = StringInStr($source, "function") MsgBox(0, "info", "there is:" & $result) Link to comment Share on other sites More sharing options...
clearguy Posted June 9, 2006 Author Share Posted June 9, 2006 Not sure if it was the cause of your problems, but you had a "," instead of an "&". #include <IE.au3> $oIE = _IECreate ("http://www.page.html") MsgBox(0, "info", "page loaded") $source = _IEDocReadHTML ($oIE) $result = StringInStr($source, "function") MsgBox(0, "info", "there is:" & $result)thanx it works I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français 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