Jump to content

Execute scripts


Recommended Posts

I would like to execute autoit scripts from another script.

The problem is that i want to compile the script to an executable and i don't want to include autoit.

Is that possible? I think that the executable includes already autoit.

I want somethinkg like this:

FileInstall("anoterscript.au3","script.au3")
ExecuteScript("script.au3")

Thanks

Link to comment
Share on other sites

w0uter is correct about the future plans but this probably won't happen straight away. Your options at present are to extract a copy of AutoIt with your script or to extract a compiled version of the script.

Link to comment
Share on other sites

Yes but it would increase the size of the executable without any need.

Why don't you just add your extra portion to the original script and call it as a function? That way it will be bundled with the original and you will only have one compiled 'runtime' overhead. Just an idea...
Link to comment
Share on other sites

Why don't you just add your extra portion to the original script and call it as a function? That way it will be bundled with the original and you will only have one compiled 'runtime' overhead. Just an idea...

Because in the reality the program download the other script from a server and execute it.

Link to comment
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
 Share

  • Recently Browsing   0 members

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