linus Posted August 30, 2007 Posted August 30, 2007 Hello, is there a simple way to check for a running progress bar? I have a function for handling the bar and it would be nice just to update it if it's allready there ...
JohnBailey Posted August 30, 2007 Posted August 30, 2007 Hello, is there a simple way to check for a running progress bar? I have a function for handling the bar and it would be nice just to update it if it's allready there ...Is the progress bar developed by you or someone else? A decision is a powerful thing
linus Posted August 31, 2007 Author Posted August 31, 2007 Is the progress bar developed by you or someone else? Sorry - maybe I wasn't precise enough ... I mean the standard bar of AU - and I would like to have something like func FOO($iPercent, [stringsForTheProgressBarAndSoOn]) if NOT [progressBarAllreadyActive] then ProgressBarOn(...) progressSet($iPercent, ...) endfunc ; FOO
JohnBailey Posted August 31, 2007 Posted August 31, 2007 What about something like this? Local $pTitle = 'Progress Bar Title' ProgressOn($pTitle,'Example','Let us start...') For $i = 1 to 100 FOO($i, $pTitle) Next ProgressOff() func FOO($iPercent, $foo_pbarTitle) If WinExists($foo_pbarTitle) = 0 Then ProgressOn($pTitle,'Example','Let us start...') EndIf ProgressSet($i,$i&'% percent') Sleep(1000) endfunc; FOO A decision is a powerful thing
linus Posted August 31, 2007 Author Posted August 31, 2007 What about something like this?Hm. Very simple. And useable. Thanks!
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