whanenbu Posted February 27, 2008 Share Posted February 27, 2008 Hi, and need help reading the MLS screen. I need help on getting started reading an IE screen that contains MLS information. Here is the source code. I can't upload a screen shot since it is too big. The format looks like excel with a title MLS#, Address, Unit, Size, etc. for each column and each property for each row. Any help is appreciated. <!-- Build Number: 4.1.16.39 Date Downloaded: Wed Feb 27 14:11:59 PST 2008 IP: 10.1.34.27 --> <HTML XMLNS:IRC xmlns:v="urn:schemas-microsoft-com:vml"> <HEAD> <?IMPORT namespace="IRC" implementation="/4.1.16.39/Behaviors/popslider.htc"> <?IMPORT namespace="IRC" implementation="/4.1.16.39/Behaviors/SmartGrid/SmartGrid.htc"> <TITLE>Search Results Screen</TITLE> <STYLE> v\ { behavior: url(#default#VML); } </STYLE> <script language="javascript" src="/4.1.16.39/Include/CopyStyles.js"></SCRIPT> <LINK rel="stylesheet" type="text/css" href="/4.1.16.39/Styles/SmartGridStyles.css" /> <script language="javascript" src="/4.1.16.39/Include/UIFunctionLib.js"></script> <script language="javascript" src="/4.1.16.39/Include/ErrorHandler.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Include/ProcessTags.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Include/CMAFieldIDs.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Include/XMLUtils.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Include/FieldValidation.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Include/MultiFieldSort.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Mapping/MapUI.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Mapping/ParcelTaxLayer.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Mapping/VirtualEarthMap.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Search/CommonResults.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Search/ResultsMap.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/ScriptObjects/ResizeHandler/ResizeHandler.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Search/SaveGrid.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Search/Listing/PropertyList.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Search/Listing/SearchResults.js"></SCRIPT> <script language="javascript" src="/4.1.16.39/Search/Listing/SearchResultsCMA.js"></SCRIPT> <script language="javascript" id="scriptGeoJetLayers"></SCRIPT> </HEAD> <BODY ondragstart="return false;" onload="LoadXML()" id="theBody" class="NoScroll" > <TABLE height="100%" width="100%" cellpadding="0" cellspacing="0" border="0"> <TR height="1%" id="SearchResultTableHeaderT" > <TD colspan="2"> <TABLE class="ContentSectionTitleTab" width="100%" border="0" cellpadding="0" cellspacing="0"> <TR> <TD> <TABLE width="100%" border="0"> <TR> <TD align="right" class="ContentSectionButtonstop"> </TD> </TR> </TABLE> </TD> </TR> <TR> <TD> <TABLE class="ContentSectionTitleTab ClassTempoOnly" width="100%"> <TR> <TD class="TabActiveLeft" /> <TD class="TabActiveMiddle">Search Results: <SPAN id="MsgLineT"></SPAN></TD> <TD class="TabActiveRight" /> </TR> </TABLE> </TD> </TR> <!-- beginning of the search list --> <TR id="trSearchList" class="ContentSectionHeader" style="display:none;"> <TD> <TABLE width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"> <TR> <TD width="49%" align="right" class="ClassTempoOnly"> <SPAN id="spanPrevSearch" title="Previous Prospect Search" onclick="PreviousSelected()" id="Previous" onmouseover="this.className='iconButton24ON';" onmousedown="this.className='iconButton24DOWN';" onmouseout="this.className='iconButton24OFF';" class="iconButton24OFF"> <SPAN class="iconButtonOFF" id="icon_prev"></SPAN> </SPAN> </TD> <TD width="49%" align="right" class="ClassMlxchangeOnly"> <IMG height="21px" width="21px" onclick="PreviousSelected()" id="imgPrevious" alt="Previous" src="/4.1.16.39/Images/Prev_Arrow.gif"> </TD> <TD width="2%" id="tdSearchList"/> <TD width="49%" align="left" class="ClassMlxchangeOnly"> <IMG height="21px" width="21px" onclick="NextSelected()" id="imgNext" alt="Next" src="/4.1.16.39/Images/Next_Arrow.gif"> </TD> <TD width="49%" align="left" class="ClassTempoOnly"> <SPAN id="spanNextSearch" title="Next Prospect Search" onclick="NextSelected()" id="Next" onmouseover="this.className='iconButton24ON';" onmousedown="this.className='iconButton24DOWN';" onmouseout="this.className='iconButton24OFF';" class="iconButton24OFF"> <SPAN class="iconButtonOFF" id="icon_next"></SPAN> </SPAN> </TD> </TR> </TABLE> </TD> </TR> <!-- end of the search list --> <TR> <TD id="tdSearchResultTableHeader"> <TABLE cellpadding="0" width="100%" height="100%"cellspacing="0" border="0"> <TR> <TD > <TABLE width="100%" border="0"> <TR> <TD align="left" class="ClassMlxChangeOnly"><SPAN class="ContentSectionSubTypeName" id="spanSubTypeName"></SPAN></TD> <TD> <!-- Filters --> <TABLE border="0" width="100%" cellpadding="2px" cellspacing="0" ID="Table2"> <TR> <TD id="tdNavTitle" colspan="4" width="100%"> </TD> </TR> <TR width="100%"> <TD width="5%"><IMG class="ClassMlxchangeOnly" src="/4.1.16.39/Images/icoFindListing_Small.gif" /> </TD> <TD width="30%" id="gridlist" class="FilterLabel" nowrap="1"></TD> <TD width="20%" class="Filterlabel" nowrap="1"> <SPAN class="ClassMlxchangeOnly">Filter: <SELECT id="selectionfilter" name="Select" onchange="SetSelectFilter(this.value,this.selectedIndex)" class="Text_Small"> <OPTION value="all">Show all</OPTION> <OPTION value="sel">Show selected</OPTION> <OPTION value="unsel">Show unselected</OPTION> </SELECT> </SPAN> <SPAN class="ClassTempoOnly">Display: <SELECT id="selectionfilter" name="Select" onchange="SetSelectFilter(this.value,this.selectedIndex)" class="Text_Small"> <OPTION value="all">All</OPTION> <OPTION value="sel">Selected</OPTION> <OPTION value="unsel">Unselected</OPTION> </SELECT> </SPAN> </TD> <TD width="30%" id="statusfilter" class="FilterLabel" nowrap="1"> </TD> <TD width="15%" id="tdPriceFilter" align="right" class="FilterLabel" nowrap="1"> <SPAN>Price: <IRC:POP_SLIDER id="PriceFilter" onchange="onchangePriceFilter()" Round="1000"> </IRC:POP_SLIDER></SPAN> </TD> </TR> </TABLE> </TD> <TD align=right class="ClassTempoOnly"> <SPAN title="Sort" onmouseover="this.className='icon16ButtonON';" onmousedown="this.className='icon16ButtonDOWN';" onmouseout="this.className='icon16ButtonOFF';" onclick="sort_pane.style.display = sort_pane.style.display=='none' ? '' : 'none'; SearchResultSortToggleCollapseIcon.style.display = sort_pane.style.display; SearchResultSortToggleExpandIcon.style.display = sort_pane.style.display=='none' ? '' : 'none';" class="icon16ButtonOFF"> <SPAN id="SearchResultSortToggleExpandIcon" class="iconButtonOFF"></SPAN> <SPAN id="SearchResultSortToggleCollapseIcon" class="iconButtonOFF" style="display:none;"></SPAN> Multi-Field Sort </SPAN> </TD> </TR> </TABLE> </TD> </TR> <TR id=sort_pane style="display:none;"> <TD align=right> <TABLE> <TR> <TD align=right class="FilterLabel" nowrap>Sort By: <SPAN ID="spanMultiSortSel1" class="StdText" /> </TD> <TD align=left width=24> <TABLE cellpadding=0 cellspacing=0 border=0> <TR> <TD> <SPAN class=ascbtn_off id="btnMultiSortAsc1" onclick="ToggleAscDescButtons(btnMultiSortAsc1, btnMultiSortDesc1);" title="Sort Ascending (0-9, A-Z)" NAME="asc1"><SPAN class="iconButtonOFF search_results_sort_asc_icon"></SPAN></SPAN> </TD> <TD> <SPAN class=descbtn_on id="btnMultiSortDesc1" onclick="ToggleAscDescButtons(btnMultiSortDesc1, btnMultiSortAsc1);" title="Sort Descending (Z-A, 9-0)" NAME="desc1"><SPAN class="iconButtonOFF search_results_sort_desc_icon"></SPAN></SPAN> </TD> </TR> </TABLE> </TD> <TD align=right class="FilterLabel" nowrap="1"> Then By: <SPAN ID="spanMultiSortSel2" class="StdText" /> </TD> <TD align=left width=24> <TABLE cellpadding=0 cellspacing=0 border=0> <TR> <TD> <span class=ascbtn_off id="btnMultiSortAsc2" onclick="ToggleAscDescButtons(btnMultiSortAsc2, btnMultiSortDesc2);" title="Sort Ascending (0-9, A-Z)" NAME="asc2"><SPAN class="iconButtonOFF search_results_sort_asc_icon"></SPAN></span> </TD> <TD> <span class=descbtn_on id="btnMultiSortDesc2" onclick="ToggleAscDescButtons(btnMultiSortDesc2, btnMultiSortAsc2);" title="Sort Descending (Z-A, 9-0)" NAME="desc2"><SPAN class="iconButtonOFF search_results_sort_desc_icon"></SPAN></span> </TD> </TR> </TABLE> </TD> <TD align=right class="FilterLabel" nowrap> Then By: <SPAN ID="spanMultiSortSel3" class="StdText" /> </TD> <TD align=left width=24> <TABLE cellpadding=0 cellspacing=0 border=0 ID="Table5"> <TR> <TD> <SPAN class=ascbtn_off id="btnMultiSortAsc3" onclick="ToggleAscDescButtons(btnMultiSortAsc3, btnMultiSortDesc3);" title="Sort Ascending (0-9, A-Z)" NAME="asc3"><SPAN class="iconButtonOFF search_results_sort_asc_icon"></SPAN></SPAN> </TD> <TD> <SPAN class=descbtn_on id="btnMultiSortDesc3" onclick="ToggleAscDescButtons(btnMultiSortDesc3, btnMultiSortAsc3);" title="Sort Descending (Z-A, 9-0)" NAME="desc3"><SPAN class="iconButtonOFF search_results_sort_desc_icon"></SPAN></SPAN> </TD> </TR> </TABLE> </TD> <TD align=right> <INPUT type=button class=btn value=" Sort " ID="Button2" onclick="SetSortColumns()" NAME="Button2"> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> <TR> <TD id="GridContainer" width="50%" height="100%" colspan="2"> <!-- Grid --> <TABLE height="100%" width="100%" cellpadding="0" cellspacing="0"> <TR height="98%"> <TD width="100%"> <IRC:SmartGrid id="GridControl" name="GridControl" style="overflow-x:hidden;overflow-y:hidden;width:100%;height:100%" onreadystatechange="InitGrid()" expando="true" onGridReady="FilterGrid()" onRowChecked="GridRowClicked()" onExpandRow="ExpandRow(event.pExpandSpan, event.iRow, event.sSysID)" onAllSelected="AllRowsSelected()" onerror="GridError()" onDataRequest="parent.searchGetRowData(this, event.objRowsReq)" onColumnRequest="parent.searchGetColData(event.objColReq, this)" onVisibleRowsChange="UpdateStatusLine();UpdateMultiFieldSort(parent.xmlSearchResults);" QuickLink="true" onQuickLinkHover="setQuickLinkContent()" onActiveContentClick="ShowActiveContent()"> </IRC:SmartGrid> </TD> </TR> <TR ID="CritContainer" style="display:none;" height="1%"> <TD width="100%" align="center"style="padding: 8px; border-left:solid 1px #33478F; border-right:solid 1px #33478F;""> <DIV ID="CriteriaBlock"> </DIV> </TD> </TR> <TR height="1%"> <TD class="ContentSectionFooter"> <table cellspacing="0" cellpadding="0" border="0" width="100%" class="ContentSectionFooterTable"> <tr> <td id="tdMapOptions" width="70%" style="font-size: 8pt"> <SPAN id="spanTempoOnly" class="ClassTempoOnly"></SPAN> <SPAN id="MoveLineUpBtn" title="Move Listing Up" onmouseover="this.className='icon16ButtonON';" onmousedown="this.className='icon16ButtonDOWN'; GridControl.moveResultsUp();" onmouseout="this.className='icon16ButtonOFF'; GridControl.stopMovingResults();" class="icon16ButtonDISABLED" onmouseup="GridControl.stopMovingResults();UpdateGridButtons();CheckFilterMap();"> <SPAN id="SearchResultMoveUpIcon" class="icon16ButtonOFF"></SPAN>Move Up </SPAN> <SPAN id="MoveLineDownBtn" title="Move Listing Down" onmouseover="this.className='icon16ButtonON';" onmousedown="this.className='icon16ButtonDOWN'; GridControl.moveResultsDown();" onmouseout="this.className='icon16ButtonOFF'; GridControl.stopMovingResults();" class="icon16ButtonDISABLED" onmouseup="GridControl.stopMovingResults();UpdateGridButtons();CheckFilterMap();"> <SPAN id="SearchResultMoveDownIcon" class="icon16ButtonOFF"></SPAN>Move Down </SPAN> <SPAN id="RecommendBtn" style="display:none" title="Recommend" onclick="ChangeSavedListingType(1)" onmouseover="this.className='icon16ButtonON';" onmousedown="this.className='icon16ButtonDOWN';" onmouseout="this.className='icon16ButtonOFF';" class="icon16ButtonOff"> <SPAN id="icon_recommend" class="icon16ButtonOFF"></SPAN> Recommend </SPAN> <SPAN id="RejectBtn" style="display:none" title="Reject" onclick="ChangeSavedListingType(4)" onmouseover="this.className='icon16ButtonON';" onmousedown="this.className='icon16ButtonDOWN';" onmouseout="this.className='icon16ButtonOFF';" class="icon16ButtonOff"> <SPAN id="icon_reject" class="icon16ButtonOFF"></SPAN> Reject </SPAN> <SPAN id="ShCrit" title="Show Criteria" onclick="RenderCriteria()" onmouseover="this.className='icon16ButtonON';" onmousedown="this.className='icon16ButtonDOWN';" onmouseout="this.className='icon16ButtonOFF';" class="icon16ButtonOff"> <SPAN id="SearchResultShowCritIcon" class="icon16ButtonOFF"></SPAN> Show Criteria </SPAN> <SPAN id="HiCrit" style="display:none" title="Hide Criteria" onclick="HiCrit.style.display = CritContainer.style.display = 'none'; ShCrit.style.display = ''; GridControl.ResizeNow()" onmouseover="this.className='icon16ButtonON';" onmousedown="this.className='icon16ButtonDOWN';" onmouseout="this.className='icon16ButtonOFF';" class="icon16ButtonOff"> <SPAN id="SearchResultHideCritIcon" class="icon16ButtonOFF"></SPAN> Hide Criteria </SPAN> <SPAN id="spanMarkViewed" style="display:none" title="Mark as Viewed" onclick="markAsRead()" onmouseover="this.className='icon16ButtonON';" onmousedown="this.className='icon16ButtonDOWN';" onmouseout="this.className='icon16ButtonOFF';" class="icon16ButtonOff"> <SPAN id="icon_markviewed" class="icon16ButtonOFF"></SPAN> Mark as Viewed </SPAN> <SPAN id="spanMarkAsNew" style="display:none" title="Mark as New" onclick="markAsUnread()" onmouseover="this.className='icon16ButtonON';" onmousedown="this.className='icon16ButtonDOWN';" onmouseout="this.className='icon16ButtonOFF';" class="icon16ButtonOff"> <SPAN id="icon_marknew" class="icon16ButtonOFF"></SPAN> Mark as New </SPAN> </td> <td id="tdShowMap" nowrap="1" width="30%" align="right" style="font-size: 8pt"> <SPAN id="spanShowMap" title="Show Map" onmouseover="this.className='icon16ButtonON';" onmousedown="this.className='icon16ButtonDOWN';" onmouseout="this.className='icon16ButtonOFF';" class="icon16ButtonOff " onclick="ShowHideMap()"> <SPAN class="icon16ButtonOFF map_icon"></SPAN> Show Map </SPAN> </td> </tr> </table> </TD> </TR> </TABLE> </TD> <TD width="50%" id="tdMapContainer" style="display: none"> <TABLE height="100%" width="100%" cellpadding="0" cellspacing="0"> <TR height="100%" valign="middle"> <TD id="tdMapResizeBar" width="4px" align="center"></TD> <TD id="tdMap"></TD> </TR> </TABLE> </TD> </TR> <TR height="1%" id="SearchResultTableFooterT"> <TD colspan="2"> <TABLE width="100%" cellpadding="0" cellspacing="0"> <TR> <TD> <DIV class=ContentSectionButtonsBottom> <SPAN title="Revise Search" id="spanReviseSearch" onmouseover="this.className='iconButtonON';" onmousedown="this.className='iconButtonDOWN';" onmouseout="this.className='iconButtonOFF';" class="iconButtonOFF" onclick="parent.Show('Criteria')"> <SPAN id="SearchResultReviseSearchIcon" class="iconButtonOFF"></SPAN> Revise Search </SPAN> <SPAN title="Save Search" id="spanSaveSearch" onmouseover="this.className='iconButtonON';" onmousedown="this.className='iconButtonDOWN';" onmouseout="this.className='iconButtonOFF';" class="iconButtonOFF" onclick="saveSearch()"> <SPAN id="SearchResultSaveSearchIcon" class="iconButtonOFF"></SPAN> Save Search </SPAN> <SPAN id="spanMapView" title="Map" style="display: none" onmouseover="this.className='iconButtonON';" onmousedown="this.className='iconButtonDOWN';" onmouseout="this.className='iconButtonOFF';" class="iconButtonOFF" onclick="parent.ShowMapView()"> <SPAN id="icon_map" class="iconButtonOFF"></SPAN> Map </SPAN> <SPAN id="spanDrivingDirectins" title="Driving Directions" style="display: none" onmouseover="this.className='iconButtonON';" onmousedown="this.className='iconButtonDOWN';" onmouseout="this.className='iconButtonOFF';" class="iconButtonOFF" onclick="parent.ShowDirection()"> <SPAN id="icon_driving_directions" class="iconButtonOFF"></SPAN> Driving Directions </SPAN> <SPAN id="spanDownload" title="Download" style="display: none" onmouseover="this.className='iconButtonON';" onmousedown="this.className='iconButtonDOWN';" onmouseout="this.className='iconButtonOFF';" class="iconButtonOFF" onclick="parent.ShowExport(false)"> <SPAN id="SearchResultDownloadIcon" class="iconButtonOFF"></SPAN> Download </SPAN> <SPAN id="spanCreateCMA" title="CMA Wizard" style="display: none" onmouseover="this.className='iconButtonON';" onmousedown="this.className='iconButtonDOWN';" onmouseout="this.className='iconButtonOFF';" class="iconButtonOFF" onclick="createCMA()"> <SPAN id="SearchResultCmaIcon" class="iconButtonOFF"></SPAN> CMA </SPAN> <SPAN id="spanSearchResultStatistics" title="Statistics" onmouseover="this.className='iconButtonON';" onmousedown="this.className='iconButtonDOWN';" onmouseout="this.className='iconButtonOFF';" class="iconButtonOFF" onclick="ShowCriteriaAndStatistics()"> <SPAN id="SearchResultStatsIcon" class="iconButtonOFF"></SPAN> Statistics </SPAN> <SPAN id="spanTransferListings" title="Transfer Listings" style="display: none" onmouseover="this.className='iconButtonON';" onmousedown="this.className='iconButtonDOWN';" onmouseout="this.className='iconButtonOFF';" class="iconButtonOFF" onclick="parent.ShowOther('/4.1.16.39/Tools/Admin/TransferListingsFS.asp')"> <SPAN id="icon_export" class="iconButtonOFF"></SPAN> Transfer Listings </SPAN> <SPAN id="spanOneLineCma" title="One-Line CMA" style="display: none" onmouseover="this.className='iconButtonON';" onmousedown="this.className='iconButtonDOWN';" onmouseout="this.className='iconButtonOFF';" class="iconButtonOFF" onclick="parent.ShowCmaGridReport()"> <SPAN id="SearchResultOneLineCMAIcon" class="iconButtonOFF"></SPAN> Quick CMA </SPAN> </DIV> </TD> <TD align="right"> <TABLE> <TR> <TD> <SPAN title="Email" id="spanEmailIcon" style="display: none" onmouseover="onMouseEventButton(this, 'onmouseover')" onmousedown="onMouseEventButton(this, 'onmousedown')" onmouseout="onMouseEventButton(this, 'onmouseout')" class="iconButtonOFF" onclick="EmailResults()"> <SPAN id="SearchResultEmailSearchIcon" class="iconButtonOFF"></SPAN> Email </SPAN> <SPAN title="Print" id="spanPrintIcon" onmouseover="onMouseEventButton(this, 'onmouseover')" onmousedown="onMouseEventButton(this, 'onmousedown')" onmouseout="onMouseEventButton(this, 'onmouseout')" class="iconButtonOFF" onclick="PrintGrid()"> <SPAN id="SearchResultPrintSearchIcon" class="iconButtonOFF"></SPAN> Print </SPAN> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> <TR height="1%" id="SearchResultTableFooterX"> <TD colspan="2"> <TABLE width="100%" cellspacing="0" cellpadding="0" border="0"> <TR height="2px" valign="top"> <TD colspan="2"></TD> </TR> <TR class="BlueBack" height="15"> <TD colspan="2" id="MsgLine" class="ActionPadMessage" align="middle"></TD> </TR> <TR> <TD nowrap="1" width="20%" id="ActionControl" style="BEHAVIOR: url('/4.1.16.39/Behaviors/action.htc')" onerror="actionerror()" width="50%" class="Action" XMLObject="g_xmlActions" nowrap="1"></TD> <TD id="tdNavButtons" width="80%" align="right"></TD> </TR> </TABLE> </TD> </TR> </TABLE> </BODY> </HTML> Link to comment Share on other sites More sharing options...
DaleHohm Posted February 28, 2008 Share Posted February 28, 2008 Help? OK, please read the helpfile section on IE Management (the _IE functions), work the examples (particularly _IECreate and _IETableWriteToArray) and download DebugBar (see my sig). Then post some code with what you've tried and what isn't working. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
whanenbu Posted March 3, 2008 Author Share Posted March 3, 2008 (edited) Text.txtText.txtHelp? OK, please read the helpfile section on IE Management (the _IE functions), work the examples (particularly _IECreate and _IETableWriteToArray) and download DebugBar (see my sig). Then post some code with what you've tried and what isn't working. Dale Thanks Dale for your help. I downloaded and installed the debugbar, which is a great help. I have attached what the debugbar shows but I still do not get the data. What is my next step to get the data? CODE Tried: #include <IE.au3> $oIE = _IEAttach ("http://sandicor.mlxtempo.com/", "URL") $colFrames = _IEFrameGetCollection($oIE) $iFrameCnt = @extended MsgBox(0, 0, "There are " & $iFrameCnt & " frames." & @LF) MsgBox(0, 0, "_IEIsFrameSet() = " & _IEIsFrameSet($colFrames)) $file = FileOpen("C:\Documents and Settings\bill\My Documents\test.txt", 2) For $i = 0 To $iFrameCnt - 1 $oFrame = _IEFrameGetCollection($oIE, $i) FileWrite($file, "Frame " & $i & ":" & _IEBodyReadHTML($oFrame) & @LF) ; MsgBox(0, 0, "Frame " & $i & ":" & _IEBodyReadHTML($oFrame) & @LF) Next FileClose($file) This spits out information for the 5 frames but no data. Thanks again Bill Edited March 3, 2008 by whanenbu Link to comment Share on other sites More sharing options...
DaleHohm Posted March 4, 2008 Share Posted March 4, 2008 Please explain this in much more detail:This spits out information for the 5 frames but no data.Also make sure you examine what is output to the SciTe console and post anything unexpected._IEIsFrameSet($colFrames) is a bogus statement because $colFrames is a "collection", not a browser object.Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
whanenbu Posted March 5, 2008 Author Share Posted March 5, 2008 I am uploading the output of the last code. Also, nothing strange in the output field.test.txt Link to comment Share on other sites More sharing options...
DaleHohm Posted March 5, 2008 Share Posted March 5, 2008 I can't be certain what you mean by "but no data", but please notice that "Frame 1" contains 4 iFrames. Sometimes, like this case you need to continue to drill into the frames until you get to the layer you need. There is no guarantee that there are not more nested frames. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
whanenbu Posted March 7, 2008 Author Share Posted March 7, 2008 OK, I think I drilled as far as possible. Here is my code. $oIE = _IEAttach ("http://sandicor.mlxtempo.com/", "URL") $colFrames = _IEFrameGetCollection($oIE) $iFrameCnt = @extended $file = FileOpen("C:\Documents and Settings\bill\My Documents\test.txt", 2) $colFrames = _IEFrameGetCollection($oIE,1) $colFrames0= _IEFrameGetCollection($colFrames,1) $iFrameCnt = @extended FileWrite($file, "For oIE11 There are " & $iFrameCnt & " frames." & @LF) FileWrite($file, @CRLF & " " & @CRLF) FileWrite($file, "Frame oIE11:" & _IEBodyReadHTML($colFrames0) & @LF) FileWrite($file, @CRLF & " " & @CRLF) $iFrameCnt = "" FileClose($file) I have uploaded the HTML and now can find the titles or column heading such as ML#, Status, Style, Address, Zip, etc. but no data. What I mean by data is the ML# 08xxxxxxxx Status such as Active, Pend, Sold, Address = Address of the property, zip = zip code. Since I can not find any more frames, I tried tables but that did not work. What do I do now to get the actual data? Thanks in advance you have been a help so far. Billtest1x.txt Link to comment Share on other sites More sharing options...
DaleHohm Posted March 7, 2008 Share Posted March 7, 2008 I don't know what to tell you... your "data" is certainly not in the source you posted. Since I cannot see the site other than the banner page there is not much I can do to help you. You need to dig and figure out what container is holding your "data". DebugBar should get you there once you are comfortable with it. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
whanenbu Posted March 10, 2008 Author Share Posted March 10, 2008 OK. I am really at a loss. The debugbar indicates that the data/content I need is in an iFrame and that points to GridControl as shown if previous code above and an abstract below. <TD width="100%"><?IMPORT NAMESPACE = IRC IMPLEMENTATION = "http://sandicor.mlxtempo.com/4.1.17.40/Behaviors/SmartGrid/SmartGrid.htc" /><IRC:SmartGrid id=GridControl onreadystatechange=InitGrid() style="OVERFLOW-Y: hidden; OVERFLOW-X: hidden; WIDTH: 100%; HEIGHT: 100%" name="GridControl" onerror="GridError()" expando="true" QuickLink="true" onActiveContentClick="ShowActiveContent()" onQuickLinkHover="setQuickLinkContent()" onVisibleRowsChange="UpdateStatusLine();UpdateMultiFieldSort(parent.xmlSearchResults);" onColumnRequest="parent.searchGetColData(event.objColReq, this)" onDataRequest="parent.searchGetRowData(this, event.objRowsReq)" onAllSelected="AllRowsSelected()" onExpandRow="ExpandRow(event.pExpandSpan, event.iRow, event.sSysID)" onRowChecked="GridRowClicked()" onGridReady="FilterGrid()"></IRC:SmartGrid></TD></TR> <TR id=CritContainer style="DISPLAY: none" height="1%"> If I open a new window with _IECreate, how do I get the content to show so I can access it? 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