iLoveAU3 Posted June 6, 2008 Posted June 6, 2008 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
weaponx Posted June 6, 2008 Posted June 6, 2008 (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 June 6, 2008 by weaponx Leendert-Jan and JoeBar 1 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now