El-Trucha Posted December 6, 2004 Share Posted December 6, 2004 Byte adder... #cs Name: AddBytes 1.0 Author: El-Trucha Dev tool: AutoIt v3.0.103 #ce Func AddBytes($file, $bytes) ; Beginning function $message = StringFormat("Adding bytes to %s...", $file) ; Making the string to put on the splash screen SplashTextOn("Adding...", $message, 500 , 100) ; Putting it in the splash screen For $x = 1 To $bytes ; Beginning of the loop FileWrite($file, " ") ; Adding the bytes Next ; Ending the loop SplashOff() ; Turning off the splash screen EndFunc ; Ending function Did I put too much comments?? Hope u like it... El-Truchahttp://www.truchasoft.tk[url="ftp://tsfc.homeftp.net"]ftp://tsfc.homeftp.net[/url]hotline://tsfc.ath.cx Link to comment Share on other sites More sharing options...
ryeguy Posted December 6, 2004 Share Posted December 6, 2004 Byte adder...#cs Name: AddBytes 1.0 Author: El-Trucha Dev tool: AutoIt v3.0.103 #ce Func AddBytes($file, $bytes) ; Beginning function $message = StringFormat("Adding bytes to %s...", $file) ; Making the string to put on the splash screen SplashTextOn("Adding...", $message, 500 , 100) ; Putting it in the splash screen For $x = 1 To $bytes ; Beginning of the loop FileWrite($file, " ") ; Adding the bytes Next ; Ending the loop SplashOff() ; Turning off the splash screen EndFunc ; Ending functionDid I put too much comments?? Hope u like it...<{POST_SNAPBACK}>why would you put a splash screen? Link to comment Share on other sites More sharing options...
El-Trucha Posted December 6, 2004 Author Share Posted December 6, 2004 Splash screen?? ohh, no, I meant SplashText... El-Truchahttp://www.truchasoft.tk[url="ftp://tsfc.homeftp.net"]ftp://tsfc.homeftp.net[/url]hotline://tsfc.ath.cx Link to comment Share on other sites More sharing options...
bshoenhair Posted December 6, 2004 Share Posted December 6, 2004 @El-Trucha Not sure about your purpose for this script but why not use a ProgressBar instead of SplashText ? 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