Sign in to follow this  
Followers 0
Glyph

Writing a .au3 file and compiling it from a script?

3 posts in this topic

#1 ·  Posted (edited)

Let's say, my script makes a script and saves it as .au3,

then it acknowledges that it has been written, then compiles it.

I want to know if I can compile it after writing it form the same script.

Maybe include autoit3.exe and run the parameters on there comp with the same script?

I'm not sure if this would work or if this has been done already....

feel free to help me! :)

Edited by BackStabbed

tolle indicium

Share this post


Link to post
Share on other sites

Yeah, many people did this. Right now, I can only remember JustinReno's "WebBrowser creator" Check it out.

Share this post


Link to post
Share on other sites

you can inlclude the compiler (aut2exe.exe) and use the command line syntax from the help file-

The 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>] [/nopack] [/ansi] [/unicode]

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.

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