Jump to content

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


Glyph
 Share

Recommended Posts

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

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...