Jump to content
Sign in to follow this  
alucard

compiling a .au3

Recommended Posts

alucard

Hi,

Sorry for my bad English.

I want to know how, in a script, write in a .au3 file and compile it.

I don't find a command line to compile a script.

thank you

Share this post


Link to post
Share on other sites
buzz44
Start > AutoIt v3 > Compile Script to .exe or right click on the .au3 file and click Compile Script or Compile Script with options. Edited by Burrup

qq

Share this post


Link to post
Share on other sites
seandisanti

Start > AutoIt v3 > Compile Script to .exe or right click on the .au3 file and click Compile Script or Compile Script with options.

<{POST_SNAPBACK}>

i think he's asking how he can compile an .au3 from within a script. If that is the case, you could use the command line compile option from a run() function... more information is in the help file, if you search for compile, method 3 is the command line example:

Aut2exe.exe /in <infile.au3> [/out <outfile.exe>][/icon <iconfile.ico>] [/nodecompile] [/comp 0-4] [/pass <passphrase>]

and the run function, just incase you're not familiar with it:

Run ( "filename" [, "workingdir" [, flag]] )

Share this post


Link to post
Share on other sites
buzz44

Bah, just re-read question and your method makes for sense :">.


qq

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  

×