Jump to content

Byte adder...:P


El-Trucha
 Share

Recommended Posts

Byte adder...:idiot:

#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?? :D

Hope u like it...:lol:

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

Byte adder...:idiot:

#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?? :D

Hope u like it...:lol:

<{POST_SNAPBACK}>

why would you put a splash screen?
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...