S4y0n4r4 Posted November 23, 2005 Share Posted November 23, 2005 :"> Hi again new question:) How can i watch when the progress bar will be full? How can i understand when the progress bar is full and to leave my script to go to the next command? I want the script to wait until the progress bar fill out. thanks Link to comment Share on other sites More sharing options...
Josbe Posted November 23, 2005 Share Posted November 23, 2005 ? When you settle down the value with ProgressSet() you have the control.$myValue = 20 ProgressSet( $myValue , "...", "Complete") AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
S4y0n4r4 Posted November 23, 2005 Author Share Posted November 23, 2005 Whether this command will help me - i want to watch a progress bar from other program - one installation (installShield). I don't create a progress bar. I just want to watch a installation progress bar whether is fill out and to make automatic to press Finish. Link to comment Share on other sites More sharing options...
SpookMeister Posted November 23, 2005 Share Posted November 23, 2005 Perhaps it is not "His" progress bar. [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
Josbe Posted November 23, 2005 Share Posted November 23, 2005 Oh right,...I understand...look here. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
trids Posted November 24, 2005 Share Posted November 24, 2005 Or you can just determine the coordinates of the last pixels that will be filled when the progress has reached 100% .. and use PixelGetColor() to see when this region changes Link to comment Share on other sites More sharing options...
LxP Posted November 24, 2005 Share Posted November 24, 2005 Often another event will occur when an installation completes. Window text might change; a control might become enabled; a certain file might exist. You might be able to accomplish what you want with something simple like this: WinWait('InstallShield', 'Installation complete'); change the texts to suit Link to comment Share on other sites More sharing options...
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