Sign in to follow this  
Followers 0
McGod

Loading A Script From A Exe

5 posts in this topic

Pretty much I want to be able to have a compiled script read a .au3 or .ax3

The au3 will change so i need it to read and excute.

Anybody have ideas?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

you can just do a fileread on it, only for .au3 not .a3x's

Edited by thatsgreat2345

Share this post


Link to post
Share on other sites

Pretty much I want to be able to have a compiled script read a .au3 or .ax3

The au3 will change so i need it to read and excute.

Anybody have ideas?

Make a runner prrogram to execute .a3x files.

RunWait(@AutoItExe & ' /AutoIt3ExecuteScript ' &  'myprogi.a3x')

Then have the .a3x load the .au3 when it executes. Remeber that the loaded au3 fil can not reference anything not included in the a3x file unless the included file is in the same folder as the au3 file.

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