Sign in to follow this  
Followers 0
iLoveAU3

Progress Bar

3 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

problem solved, thank you. :)

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