Jump to content

Recommended Posts

Posted

How can i create a program that will create a script, using inputs, and then compiles it into an exe. Would i just make it type the whole script and then use aut2exe to compile it or is there an easier way??

Posted (edited)

Well one way would be to send the code to a text file, saving it as ".au3" and using a console window to compile using Aut2Exe

Edited by BALA
[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Posted

Well one way would be to send the code to a text file, saving it as ".au3" and using a console window to compile using Aut2Exe

Is there an easier way rather than 1 line at a time??

Posted

Well one way would be to send the code to a text file, saving it as ".au3" and using a console window to compile using Aut2Exe

A "console window" Is not needed.
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Posted (edited)
http://www.autoitscript.com/forum/index.ph...showtopic=22531 shows making an au3 via another script. It does not happen to use inputs from the user, but that should not be that hard to add. You could use FileInstall to place most of the au3 on the hard drive and then StringReplace to change only those lines that you want. Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

http://www.autoitscript.com/forum/index.ph...showtopic=22531 shows making an au3 via another script. It does not happen to use inputs from the user, but that should not be that hard to add. You could use FileInstall to place most of the au3 on the hard drive and then StringReplace to change only those lines that you want.

I couldnt make head or tail of that. are you sure it's the right topic?? With the title "Move MsgBox (/AutoIt3ExecuteScript), Random Move MsgBox" it dosnt sound right?? could you point me where in the topic it is??

Posted

I couldnt make head or tail of that. are you sure it's the right topic?? With the title "Move MsgBox (/AutoIt3ExecuteScript), Random Move MsgBox" it dosnt sound right?? could you point me where in the topic it is??

Yes, that is the link that I meant to send you to. It shows how to have one script write another script.

Not shown in that link is how to compile it from within the main script - but that is easy.

Maybe I do not understand your question.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

On closer closer inspection, it dose acutually do that. Posted Image'> Thanks.

Depending on how many things you have to change, lauching a script from within a script and using the command line options to pass the variables into the child script might also work for you.

[size="1"][font="Arial"].[u].[/u][/font][/size]

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
  • Recently Browsing   0 members

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