BoogY Posted November 2, 2009 Share Posted November 2, 2009 Hello everyone I have this pice of code : ProgressOn("Sauvegarde H", "Sauvegarde du lecteur H en cours ...", "0 percent") For $i = 10 to 100 step 10 sleep(1000) ProgressSet( $i, $i & " percent") Next ;une fois terminé ProgressSet(100 , "Terminé", "Complete") sleep(700) ProgressOff() How can i make the progress increment when I copy some files, but i want'it to realy show the progression of the copy? Thanks a lot. Link to comment Share on other sites More sharing options...
Juvigy Posted November 2, 2009 Share Posted November 2, 2009 FileCopy() is showing the default windows progress bar. Otherwise it will be quite difficult to show your custom progress bar synced with sleep commands as you dont have any idea how much time the copy process would take. Link to comment Share on other sites More sharing options...
BoogY Posted November 2, 2009 Author Share Posted November 2, 2009 I try with FileCopy but no windows progress bar is showing.. and i dont want to use the sleep in the script its just an example. Link to comment Share on other sites More sharing options...
jvanegmond Posted November 2, 2009 Share Posted November 2, 2009 (edited) Your search skills are very bad. Edited November 2, 2009 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
BoogY Posted November 2, 2009 Author Share Posted November 2, 2009 Thanks a lot 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