In other words, give it an input file, and the name of the output file and it'll create Generated.ahk, that when run, will create the output file on the system whose contents will be identical to input file.
(i usually use FileAppend for small (text) files and prefer it over FileInstall)
input = %1% ifnotexist, %input%, FileSelectFile, input, 1,, Select File to be scanned: FileSelectFile, Output, ,, Select File to be Generated: FileDelete, Generated.ahk Loop, Read, %input%, %a_scriptdir%\Generated.ahk { StringReplace, ReadLine, A_LoopReadLine, ``, ````, A StringReplace, ReadLine, ReadLine, `,, ```,, A StringReplace, ReadLine, ReadLine, `;, ```;, A StringReplace, ReadLine, ReadLine, `%, ```%, A FileAppend, FileAppend`, %ReadLine%``n`, %output%`n }