jeantje Posted March 16, 2012 Posted March 16, 2012 #include <Inet.au3> For $i = 00001 To 14315 InetGet("http://blender-mirror.kino3d.org/peach/png/big_buck_bunny_" & $i & ".png", "D:\peach\big_buck_bunny_" & $i & ".png") Next Hey guys is there any way to make this work so it start with 00001? Thank you!
Spiff59 Posted March 17, 2012 Posted March 17, 2012 Since StringFormat() is quite slow, you could also do it the old-fashioned way: $timer1= TimerInit() For $i = 1 To 50000 $i = StringFormat("%05d", $i) Next $timer1 = TimerDiff($timer1) / 1000 $timer2= TimerInit() For $i = 1 To 50000 $i = StringRight("00000" & $i, 5) Next $timer2 = TimerDiff($timer2) / 1000 MsgBox(0,"",$timer1 & @CRLF & $timer2)
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