Sign in to follow this  
Followers 0
Saagar

window loading

7 posts in this topic

Need help to get the status of window loading. We dont show progressbar while loading. Pls help how to get the status in this situation.

Share this post


Link to post
Share on other sites



The status of which window? Which program?

BR,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

For eg: if a browser page is loading, it shows the loading progress bar while retrieving the page contents. But in our application there's no data retrieving progress bar for loading a web page or something like that; so how to get the status of this window using AutoIt?

Share this post


Link to post
Share on other sites

For eg: if a browser page is loading, it shows the loading progress bar while retrieving the page contents. But in our application there's no data retrieving progress bar for loading a web page or something like that; so how to get the status of this window using AutoIt?

It depends on the application!

I understand that your application starts, loads some data and when loading has ended the user can start to work (print, manipulate ...) with that data.

How does the user know that all data has been loaded and he can start working? Does the application display some text in a status bar, ungray a button ...?

If the user knows that data loading has completed this can be checked by Autoit as well.


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

#5 ·  Posted (edited)

Thanks for your quick response; in our application we show Report/other pages (mostly read-only pages) which are retrieved through web; now the problem is -

1. we don't show the loading progress bar

2. also there is no such thing or button that goes from disabled to enabled state or likewise

3. the page just loads its contents and show to the user...all buttons/text remain unchanged.

As it is a read-only application there is no data manipulation required by the user.....

Edited by YogeshDikshit

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

How does the user know that all data has been loaded? Does he get an empty screen during loading and when all loading is done the data is displayed?

What type of control is the data displayed in (use AutoIts Window Info Tool?) Maybe your script could read the content of the control in a loop and when the control no longer is empty then do whatever ...

Edited by water

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

How does the user know that all data has been loaded? Does he get an empty screen during loading and when all loading is done the data is displayed?

What type of control is the data displayed in (use AutoIts Window Info Tool?) Maybe your script could read the content of the control in a loop and when the control no longer is empty then do whatever ...

its grid tool.

intially empty grid

after completion of loading, will get some data on grid.

note: we dont show progressbar while loading. That is the reason, unable to know the status of the window.

Please help.

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