Jump to content

Read value from a progress bar


 Share

Recommended Posts

Ok i want to try to sreamline a automated process, and im wondering if there is a command that will read the percentage or value of the progress bar. I have trid controlgettext, but that doesnt work. Any suggestions?

Any Code??

Link to comment
Share on other sites

Look at Auto3Lib from PaulIA

A3LProgress.au3

EDIT:

This should work but it's missing there

Global Const $PBM_GETPOS                        = $WM_USER + 8

Func _Progress_GetPos($hWnd)
  Return _API_SendMessage($hWnd, $PBM_GETPOS, 0, 0)
EndFunc
Edited by Zedna
Link to comment
Share on other sites

  • 4 months later...

I should have clearified, its not a GUI im making, but rather another program.

Doesn't matter. Auto3Lib will read ProgressBar controls in external apps as well. (And I've added the missing function Zedna is referring to a LONG time ago). :)
Auto3Lib: A library of over 1200 functions for AutoIt
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...