Sign in to follow this  
Followers 0
CoderDunn

FileInstall() Code Generator

3 posts in this topic

Since you can't use loops and variables for FileInstall(), you either type it yourself or make something type it for you. I'd rather have somthing type it for me, especially if it's over 20 or so files ;) I just started with AutoIt not long ago but I think it's awsome. I may be a noobie but I cousin said it was cool so here you go o:)

Try this:

Run Script

Click Open Folder

Select C:\Windows\

Type 1 for Sub Files option

Put in some name for dest path like C:\

See how many files it counts up too.

Mine went up to 16,002 :lmao:

Hallman

Share this post


Link to post
Share on other sites



gosh dang dude u take all the fun out of it :think: i was just about to do this

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

this makes things a lot easier! I have 9116 files in C:\Windows(including subdirectories)

Edit: after i clicked Generate Code this appeared in Scite:

>"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\Documents and Settings\FrazerMcLean\My Documents\AutoIt\test.au3" /autoit3dir "C:\Program Files\AutoIt3\beta" /UserParams   
>Running AU3Check (1.54.1.1)  params:  from:C:\Program Files\AutoIt3\beta
+>AU3Check ended.rc:0
>Running:(3.1.1.119):C:\Program Files\AutoIt3\beta\autoit3.exe "C:\Documents and Settings\FrazerMcLean\My Documents\AutoIt\test.au3"    
C:\Documents and Settings\FrazerMcLean\My Documents\AutoIt\test.au3 (386) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: 
FileWrite($Open,"FileInstall(""" & $Files[$FileNumber][0] & """,""" & $Files[$FileNumber][1] & """," & $ReadOverwriteflag & ")" & @CRLF & "$percent = " & $PercentTotal & @CRLF & $ExtraCodeRead & @CRLF) 
FileWrite($Open,"FileInstall(""" & ^ ERROR
+>AutoIT3.exe ended.rc:0
>Exit code: 0   Time: 258.301
Edited by RazerM

My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.

Share this post


Link to post
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
Sign in to follow this  
Followers 0