harryspier Posted February 13, 2013 Share Posted February 13, 2013 Using AutoIt is there a way to check when a progress bar is complete. I've successfully automated a sequence of window and gui operations except for two places where I have to wait till a progress bar completes before I do the next step. Thanks, Harry Link to comment Share on other sites More sharing options...
water Posted February 13, 2013 Share Posted February 13, 2013 Usually the progress bar isn't the only indicator. When processing has ended a winodw pops up, a message is displayed in the GUI or a button is activated so the user can start the next processing step. What does your application do? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
harryspier Posted February 13, 2013 Author Share Posted February 13, 2013 Thanks MVP, My application uses two GUI based applications (Itranslator and OpenOffice) to process some text and create a pdf out of it. In the first case of waiting for a progress bar to finish, there is a property TPateControl that haves some tabs and a button on it, the button becomes active when the progress bar is complete. But when I hover the AutoItInfo finder tool over it , I can't get any information back. In the second case, I automate the pressing of the Export as PDF in OpenOffice and a progress bar opens up at the bottom of the OpenOffice window, but I don't see any buttons or anything else I can check. Thanks again, Harry Link to comment Share on other sites More sharing options...
water Posted February 14, 2013 Share Posted February 14, 2013 Can you post the output of the Window Info Tool when you move the crosshair over the control? IIRC there is a OpenOffice UDF which might allow to automate the creation of a PDF file. Search the example scripts section for this UDF. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
harryspier Posted February 16, 2013 Author Share Posted February 16, 2013 Thanks for the reply,Firstly apologies for taking so long to reply. I thought I was monitoring this thread but apparently not. I'll check for the UDF for OpenOffice. My much serious problem is to know when the progress bar from Itranslator finishs. The Autoid info tool summary output for that is: >>>> Window <<<< Title: Itranslator 99 Class: TItranslatorForm Position: -8, -8 Size: 1382, 744 Style: 0x17CF0000 ExStyle: 0x00050110 Handle: 0x002004BC >>>> Control <<<< Class: TProgressBar Instance: 1 ClassnameNN: TProgressBar1 Name: Advanced (Class): [CLASS:TProgressBar; INSTANCE:1] ID: 4260998 Text: Position: 14, 444 Size: 582, 10 ControlClick Coords: 478, 7 Style: 0x54000000 ExStyle: 0x00000000 Handle: 0x00410486 >>>> Mouse <<<< Position: 492, 494 Cursor ID: 0 Color: 0xE6E6E6 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< 10 10 Arial Arial File: acintyavisvasadakhyaDEV.itx acintyavisvasadakhyaDEV.itx Panel2 Auto-Convert Stop Convert Devanagari - F5 >>>> Hidden Text <<<< Font 10 Options Window Layout Conversion Tiled ITRANS at Bottom devsaveoption Save as TXT Save as HTML Save as RTF Transliteration - F6 transsaveoption Save as TXT Save as HTML Save as RTF Combined - F7 combsaveoption Save as TXT Save as HTML Save as RTF 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