Jump to content

Recommended Posts

Posted

ty but all i see there is how to execute a command =/ i need it to genarate exe file like au3 and compile it self by the user settings

i want my script to be just for configuring and after the user set his settings it will genarate another exe with those settings in it

  • Moderators
Posted (edited)

You can run a plain AutoIt script from any self made AutoIt executable, by using /AutoIt3ExecuteScript.

It won't be compiled (It will run like it was though), but you can allow the user to set custom settings, and just use FileWrite() to make the changes.

It will be plenty of work on your part, but it can be done.

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Have a look under the heading "Compiling Scripts" in the help file. This will find you this information:

Method 3 - The Command Line

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.

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
×
×
  • Create New...