clearguy Posted June 9, 2006 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
Moderators big_daddy Posted June 9, 2006 Moderators 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)
clearguy Posted June 9, 2006 Author 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
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