Jump to content

Progress Bar


Recommended Posts

hi guys,

i wonder if there is any way how to get data from other applications progress bar?

you see, my problem is i want to know preciously what is actual stage of progress

in range from 0-100%. The application i have on my mind does not give me such

a information.

regards

Link to comment
Share on other sites

To test I first opened Control Panel > Power Options > Power Meter

#Include <SendMessage.au3>
#include <ProgressConstants.au3>

$handle = ControlGetHandle ("Power Options Properties", "", "[CLASS:msctls_progress32; INSTANCE:1]")
ConsoleWrite("Progress bar handle: " & $handle & @CRLF)

$msg = _SendMessage($handle,$PBM_GETPOS,0,0)
ConsoleWrite("Position: " & $msg & "%" & @CRLF)
Edited by weaponx
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...