raziel2109 Posted September 24, 2012 Share Posted September 24, 2012 Hi all, My problem very frustrating.... so I'll explain it immediatly: I'm trying to create an array from a table in an html page, and this is really a simple thing, using the following code: .... $oIE = _IEAttach("checkboxes needing updates", "TITLE") Local $oTable = _IETableGetCollection($oIE, 1) Local $aTableData = _IETableWriteToArray($oTable) ..... My array, then, is full of useful informations exept for one column, and that column is the only one i need! Some informations in that column was only partially acquired, ending with dots (....) it seems like the information contained is too long to fit. The truth, instead, is that the HTML page contains javascript code that trim (right) the information if it is too long for the table cell displayed. Checking the html code shows the right thing, complete informations are written those cells without dots. Why this happens? why the array is build on what I see on the IE page and not with the contents of that page? is there a way to take full infos from the html? I'm trying to use _IEBodyReadHTML but I need row numbers to put a check and this function is not so useful... Please Help Me Thanks Pietro Di Mascio Link to comment Share on other sites More sharing options...
LarsJ Posted September 24, 2012 Share Posted September 24, 2012 Hi Pietro, There is a way to take full info from the html. Just replace this line in _IETableWriteToArray() in IE.au3: $a_TableCells[$col][$row] = $td.innerText with this one $a_TableCells[$col][$row] = $td.innerHTML Lars Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions 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