Shinies Posted January 23, 2006 Posted January 23, 2006 Hey, ive searched the forums for a bit and couldnt find anything usefull on compiling a script manually through another script. Is this possible? Basically what i want is to turn a .au3 into a .exe by running another script.
psynegy Posted January 23, 2006 Posted January 23, 2006 I dont know if you can compile scripts via a CMD promt window, but if you can then yes... Just execute the command. And again, I dont know how to do that, but start off by looking to see if you can compile a script using CMD prompt.
Stumpii Posted January 23, 2006 Posted January 23, 2006 Is this what you want to do (from the help file)?Compiling Scripts with Aut2ExeMethod 3 - The Command LineThe Aut2Exe.exe program can be run from the command line as follows: Aut2exe.exe /in <infile.au3> [/out <outfile.exe>] [/icon <iconfile.ico>] [/nodecompile] [/comp 0-4] [/pass <passphrase>]Long filenames should be enclosed in double-quotes like "C:\Program Files\Test\test.au3". If no "out" file is given the input filename is used with a .exe extension. Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity.
Shinies Posted January 23, 2006 Author Posted January 23, 2006 Would you enter that code into a cmd prompt, or in the actual source code?
Stumpii Posted January 23, 2006 Posted January 23, 2006 (edited) Sorta like this in your script: $FileToCompile = 'Script.au3' RunWait("Aut2exe.exe /in " & $FileToCompile) Edited January 23, 2006 by Stumpii Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity.
Shinies Posted January 23, 2006 Author Posted January 23, 2006 Ohhh, is see, thanks alot, this is very helpful:)
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