zasxes 0 Posted June 4, 2004 I have a web page that I want to open, I also want to time it and check for errors. The main problem I am having is how to determine it is finished loading. I cannot check the mouse cursor since it changes back and forth while opening adobe. I cannot rely on Status Bar Text since it Done shows up 3 times. All I can see that shows that it is finished is Last Control Under Mouse or Window Text. How do I work with these? expandcollapse popupPress CTRL-ALT-F to pause the display. >>>>>>>>>>>> Window Title <<<<<<<<<<<<< Document Results ( classname=IEFrame ) >>>>>>>>>>> Window Dimensions <<<<<<<<<<< left: -4 top: -4 width: 1032 height: 748 >>>>>>>>>>> Mouse Position <<<<<<<<<<< On Desktop: x: 524 y: 356 In Window: x: 528 y: 360 >>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<< RGB Mode - Hex: 0xD4D0C8 Dec: 13947080 BGR Mode - Hex: 0xC8D0D4 Dec: 13160660 >>>>>>>>>>> Last Control Under Mouse <<<<<<<<<<< Class: AVL_AVView4 Text: AVPageView >>>>>>>>>>> Status Bar Text <<<<<<<<<<< (1): Done (2): (3): (4): (5): (6): Internet >>>>>>>>>>> Visible Window Text <<<<<<<<<<< http://12X.XX.XXX.6/nr/docViewFrameTop.asp?ID=1801&RepoType=corporate&DocName=Patient_Summary_Management_MonitorISR&DocType=rep&aBob=isrv1&aCyp=53swsd4585F http://1xx.xx.xxx.x/nr/docViewFrameTop.asp?ID=1801&RepoType=corporate&DocName=Patient_Summary_Management_MonitorISR&DocType=rep&aBob=isrv1&aCyp=534356xxxxx45xxF Done http://1xx.xx.xxx.x/nr/xxxxxxx.asp?entry=xxxx&Report=%2FDocument%2Fpatient%5Fsummary%5Fmanagement%xxx&path=a.pdf AVDocToolView AVSplitterView AVScrollView AVPageView AVButton 112% AVButton AVButton AVButton AVEditView 1 of 25 AVButton AVButton AVButton AVEditView 11 x 8.5 in AVButton AVButton AVButton AVButton AVButton AVOverView AVTabView AVBookmarkView AVScrollView AVTreeView AVToolBarEasel AVToolBarView AVToolBarView AVToolBarView AVToolBarView AVZoomView AVEditView 112% AVButton AVToolBarView AVToolBarView AVToolBarView AVToolBarView >>>>>>>>>>> Hidden Window Text <<<<<<<<<<< AVEditView AVButton AVButton AVProgressView AVButton AVToolBarEasel AVToolBarEasel AVToolBarEasel Share this post Link to post Share on other sites
w_sp8er 0 Posted June 5, 2004 (edited) check out StatusbarGetText ( "title" [, "text" [, part]] ) for example Dim $SecondsTaken = 0 While 1 Dim $IsItDone = StatusbarGetText ( "title", "text", 1 ) If $IsItDone == "Done" Then ExitLoop Sleep ( 1000 ) $SecondsTaken = $SecondsTaken + 1 WEnd MsgBox ( 0, "Seconds Taken for Page to Finish Loading...", $SecondsTaken ) Edited June 5, 2004 by w_sp8er Share this post Link to post Share on other sites
KishorT 0 Posted July 10, 2006 Actually i have to handle the exception in Autoit. So if in my application exception Window is generated, then how to get that error or exception text, so that I can close that window and proceed further. In short how to get the text from Mouse under Cotrol Share this post Link to post Share on other sites
ravenmarius 0 Posted October 23, 2007 try this one _IELoadWait Share this post Link to post Share on other sites