Sign in to follow this  
Followers 0
mattfaust

can a script compile another

2 posts in this topic

Im trying to find a way for a script to generate and compile another.

is there a good way to do this?

Share this post


Link to post
Share on other sites



Im trying to find a way for a script to generate and compile another.

is there a good way to do this?

If you had AUT2EXE.exe you can send commandline parameters to that to compile a script.

If you already have one script running you can generate an .au3 file and run it from your main app without compiling it.

RunWait (@Autoitexe & " /AutoIt3ExecuteScript  MyAu3File.au3", @scriptdir)

You can do this without having autoit installed on the computer, once the main app is compiled then scripts called using this method will use the autoit3.exe which is in your main compiled script

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