shawtayee Posted June 1, 2009 Posted June 1, 2009 Sorry but I need help again I will give you a code now, so you test on urself... #include <IE.au3> #include <Array.au3> $oIE = _IECreate("http://www.dota-league.com/?section=instant/instant_single_game", "", 1) $oTable = _IETableGetCollection ($oIE, 1) $avArray = _IETableWriteToArray ($oTable, True) $check4feed = _ArraySearch($avArray, "cr3w.shawtayee") _ArrayDisplay($avArray) If "cr3w.shawtayee" is in the table or not, $check4feed is always 0... why???
kantaki Posted June 1, 2009 Posted June 1, 2009 (edited) Sorry but I need help again I will give you a code now, so you test on urself... #include <IE.au3> #include <Array.au3> $oIE = _IECreate("http://www.dota-league.com/?section=instant/instant_single_game", "", 1) $oTable = _IETableGetCollection ($oIE, 1) $avArray = _IETableWriteToArray ($oTable, True) $check4feed = _ArraySearch($avArray, "cr3w.shawtayee") _ArrayDisplay($avArray) If "cr3w.shawtayee" is in the table or not, $check4feed is always 0... why??? It's very simple , shawtayee. You can't fix it. It's an AutoIt bug. Edit / try this :$oIE = _IECreate("http://www.dota-league.com/?section=instant/instant_single_game", "", 1) $oTable = _IETableGetCollection ($oIE, 1) $avArray = _IETableWriteToArray ($oTable, True) $checkforkantaki = _ArraySearch($avArray, "cr3w.shawtayee") _ArrayDisplay($avArray) Edited June 1, 2009 by kantaki
oMBRa Posted June 1, 2009 Posted June 1, 2009 (edited) It's very simple , shawtayee.You can't fix it. It's an AutoIt bug.Edit / try this :lol or what?@OP why did you opened another thread for this issue?, and... you should do some debugging yourself instead of expecting it from us Edited June 1, 2009 by oMBRa
kantaki Posted June 1, 2009 Posted June 1, 2009 lol or what?@OP what did you opened another thread for this issue?, and... you should do some debugging yourself instead of expecting it from usThis is what i mentioned before.User Error - Replace user.
shawtayee Posted June 1, 2009 Author Posted June 1, 2009 /push, I tried for hours now, I srsly need help from an expert, won't figure it out on my own, too noobish
Sundance Posted June 1, 2009 Posted June 1, 2009 Try this... CODE #include <IE.au3> #include <Array.au3> $oIE = _IECreate("http://www.dota-league.com/?section=instant/instant_single_game", "", 1) $oTable = _IETableGetCollection ($oIE, 1) $avArray = _IETableWriteToArray ($oTable, True) _ArrayDisplay($avArray) $check4feed = _ArraySearch($avArray, "cr3w.shawtayee",0,0,0,1,1,2) MsgBox(64,"found on row: ",$check4feed) _IEQuit ($oIE) This works cause its a partial search. When you use StringStripWS on Column 2 then you don't need partial search. :-) greetz Sundance
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