AlmarM Posted February 13, 2008 Share Posted February 13, 2008 (edited) I want to create a progress, but I want to $i = Random MsgBox(0, "Anti Virus Scan", "Press OK if u want to start the scan") ProgressOn("Anti Virus Scan", "Scanning", "0%") For $i = 0 To 100 Step 1 Sleep(700) ProgressSet($i, $i & "%") Next ProgressSet(100 , "Done", "Complete Scannig") Sleep(1000) ProgressOff() MsgBox(0, "Complete", "Scanning Complete" & @CRLF & "There are >> 0 << viruses found") Im trying to fake my brother so... But the Step 1 need to be random EACH time... Edited February 13, 2008 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
LokErik Posted February 13, 2008 Share Posted February 13, 2008 This working but then it is high chance that youre Procent gets like 28,35262734% but it will work. CODEMsgBox(0, "Anti Virus Scan", "Press OK if u want to start the scan") ProgressOn("Anti Virus Scan", "Scanning", "0%") $random = Random(1, 5) For $i = 0 To 100 Step $random Sleep(700) ProgressSet($i, $i & "%") Next ProgressSet(100 , "Done", "Complete Scannig") Sleep(1000) ProgressOff() MsgBox(0, "Complete", "Scanning Complete" & @CRLF & "There are >> 0 << viruses found") The first error is one step closer to the perfect program. Link to comment Share on other sites More sharing options...
weaponx Posted February 13, 2008 Share Posted February 13, 2008 So its a spoofed virus scanner...why do you keep wasting our time with this crap? 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