Jump to content
Sign in to follow this  

can a script compile another

Recommended Posts

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...