Sign in to follow this  
Followers 0
temassacro

Execute scripts

8 posts in this topic

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

it is possible to FileInstall() a compiled script (now an exe ) into you new script and run it from there

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

it is possible to FileInstall() a compiled script (now an exe ) into you new script and run it from there

8)

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

Share this post


Link to post
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...

Share this post


Link to post
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.

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