Sign in to follow this  
Followers 0
harryspier

Checking when progress bar complete

5 posts in this topic

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

Share this post


Link to post
Share on other sites



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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0