El-Trucha 0 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 Share this post Link to post Share on other sites
ryeguy 0 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? Share this post Link to post Share on other sites
El-Trucha 0 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 Share this post Link to post Share on other sites
bshoenhair 0 Posted December 6, 2004 @El-Trucha Not sure about your purpose for this script but why not use a ProgressBar instead of SplashText ? Share this post Link to post Share on other sites