Sign in to follow this  
Followers 0
xcxooxl5

genarating new exe out of script..

6 posts in this topic

well i want to make a settings script that will genarate script kinda like here

http://www.autoitscript.com/forum/index.php?showtopic=54172

and i have no idea where to start can somone please help' i saw inthis thread the answer of TzarAlkex and it seems the best but i cant seem to find "Command Line Parameters" im realy looking for it and i would much appriciate if somone will teach me on how to do that... ty

Share this post


Link to post
Share on other sites



In the help file, go to the index tab and type 'com' in the search. it was the first result for me... otherwise you can look at the picture-

post-5131-1191369552_thumb.jpg

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#4 ·  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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

urm im not sure if this is wat you looking form i don't really understand but maybe

#include <OUR FILE NAME HERE>

;-----------
GUI HERE
;-----------



_test()oÝ÷ Ø Ý¶§¶¢Énu殶­sfgVæ2÷FW7B£·vBWfW"RvçBFòFòW&P¤VæFgVæ0

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