Mat Posted April 12, 2009 Posted April 12, 2009 (edited) Basically, it writes a script that writes another file. useful if you intend to make an installer, or need to make the same file be created regularly. works on any text based file, so you can do it for scripts too.I wrote it becouse I was thinking of making a setup file for one of my scripts, and couldn't find somethng to do this, and it sounded simple enough!The program is incredibly simple as the last couple of scripts i've done have been slightly overloaded with context menus etc.this one is only 110 lines, and uses no includes!here it is: FileWritingScriptCreatorIt works good unless you deliberatley muck it up....please no complaining about what happens if you put quote marks in one of the file names, I'm not going to fix anything along those lines.have fun!!visual explanation:File.txt =put into=> ScriptWriter =writes script=> Writer-file.txt.au3 =writes file=> File.txt (again)------------------------------------------------------------------------||-------------------------------------------------------------------Writes File------------------------------------------------------------------------||-----------------------------------------------------------------(down arrow?)------------------------------------------------------------------File.txt (again) Edited April 12, 2009 by mdiesel AutoIt Project Listing
CodyBarrett Posted April 12, 2009 Posted April 12, 2009 looks good sofar [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size]
Mat Posted April 12, 2009 Author Posted April 12, 2009 looks good sofar thanks, I haven't seen what happens if you enter wrong entries, there is a little bit of back up, if you don't set the script to an au3, it will do that for you...Just the functionthought this might be useful!1 more thing, It writes the au3 within func tags, just to make it easy to copy into scripts! AutoIt Project Listing
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