BryonR Posted August 15, 2008 Share Posted August 15, 2008 (edited) My progress bar is not updating based upon the number record it gets to. Need a little help.. Dim $aRecords If Not _FileReadToArray($PACScallnumbers,$aRecords) Then MsgBox(4096,"Error", " Error reading log to Array error:" & @error) Exit EndIf ProgressOn("Progress Meter", "Sending Page...", "0 percent") For $x = 1 to $aRecords[0] $website = "http://<url> MsgBox(0,"test",$website) ProgressSet( 10, "Sending message to pager "&$aRecords[$x]) Next ProgressSet(100 , "Done", "Complete") sleep(500) ProgressOff() Edited August 15, 2008 by BryonR Link to comment Share on other sites More sharing options...
Developers Jos Posted August 15, 2008 Developers Share Posted August 15, 2008 Try: ProgressSet( 100/$aRecords[0]*$x, "Sending message to pager "&$aRecords[$x]) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
BryonR Posted August 15, 2008 Author Share Posted August 15, 2008 Try: ProgressSet( 100/$aRecords[0]*$x, "Sending message to pager "&$aRecords[$x]) Thank you! 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