Jump to content

j00ls

Members
  • Posts

    11
  • Joined

  • Last visited

j00ls's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. as I understood _IETagNameGetCollection gets me all the Tags on the website... but I need to affiliate the images with the rows of the table they are in. Ill try an example (its supposed to be a table) Name | value | img img | text | link&img I need to read all those infos into one row of the array i want to create... as I understand it if I go with IETagNameGetCollection i just have the (hundreds) of images on the site without knowing where they belong. I will probably have to parse the site from scratch and go with the StringRegExp command - however the syntax is something of its own. Anybody know a little easy to understand and get-into howto? thanks!
  2. Hello AutoFriends! I have a little problem, i have been very successfully using _IETableGetCollection in my scripts (love it) so I would like to keep using it. however: It does not return any information about images in the table and the links on those images. What I need: the image source (<img scr="THIS">) and the links on the images (<a href="THIS><img aso.) is there any way to use IE.au3 for this or do I have to start from scratch? Thank you very much!
  3. you can't "edit" binary code, well... you can but my best guess is if the system accepts the file you wont be able to type anymore If you want to do something like that you need a debugger/disassembler like w32dasm, for drivers probably more a assembler debugger like Ollydbg a good viewer for binaries with binary, hex and debug: biew another downside: after your finished "debugging" you will probably have to recode your changes in ASM something I haven't done in over 10 years... ^^ (if you do want to f*k up your system then keep the file checksum intact else the executable wont run (MZ = executable file so its not just a lib) then just randomly make some changes and see what happens next time the file is loaded )
  4. thx i will give redim a try... i found a workaround solution ... but they allways come back to haunt you so I guess il try to fix it the way its supposed to be
  5. How can I access an array thats array[$i][$j][$k][$l] ? _ArrayDisplay is doing it wonderfully but all I get is "Array variable has incorrect number of subscripts or subscript dimension range exceeded."
  6. I have tried to use your code the other way around: $iArray = _ArrayGetLength($oFullArray) For $i = 1 To $iArray FileWriteLine($sFile, $oFullArray[$i]) Next and i get the following error: => Array variable has incorrect number of subscripts or subscript dimension range exceeded. i have no idea what else to try (
  7. I have sucessfully hacked together my first little script which gathers information from websites and puts them in a array (for now) My problem now is: I need to get the data out of there ! oh, the Array dimensions are 5x150 (its supposed to be around 15000 and i cant imagine thats too much for AutoIT?) trying to use _FileWriteFromArray leads to: ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded. trying to use _ExcelWriteSheetFromArray somhow discards all but around 50 of the entries if you have any idea how to make either work I'd be very thankful !!!
  8. great... half a day wastesd once agains just because of f*a§"% MS congeniality... just some messed up security issues in IE. MS: thumbs down AIT: thumb up
  9. Hi, i am trying to get started and this has been very frustrating. I am not new to programming, but I have no idea what is going on. 1.) I am using IE.au3 v2.4-1 (as an include) but the stdout still shows V2.4-0 2.) I am trying to write a little script that reads a html table and writes it to an xml file. (dont even worry about the last part for now.) #include <IEv241.au3>; Include the UDF #include <Array.au3> #include <ExcelCom_udf.au3> ; Create an IE Browser ; $oIE = _IECreate() _IENavigate($oIE, "http://pda.hko.gov.hk/wxreporte.htm") _IELoadWait($oIE, 0, 10000) $oTable = _IETableGetCollection($oIE, 1) ; Read the table cells into a 2-D array $otable2 = _IETableWriteToArray($oTable, False) _ArrayDisplay($oTable, "show") ; Write the array contents out to the console $todayevent = "c:\todaysevents.xlsx" $oExcel= _ExcelBookOpen($todayevent) sleep(1500) _ExcelWriteSheetFromArray($oExcel, $otable2, 1, 1, 1, 1) sleep(1500) $oIE = _IEQuit($oIE) --> IE.au3 V2.4-0 Warning from function _IETableGetCollection, $_IEStatus_NoMatch --> IE.au3 V2.4-0 Error from function _IETableWriteToArray, $_IEStatus_InvalidDataType The web page is from an example I used... i think the first error has something to do with the page not loading before he does GetCollection (even though he's supposed to wait) I have no idea what the 2nd error is about - it is an html table so where is the problem ? Thank you very much ! PS. He also allways opens 2 IE windows (all example scripts do) does AutoIT (concerning IE) not work with Vista or IE 7 ?
×
×
  • Create New...