Sign in to follow this  
Followers 0
hunter32

Load variables from another autoit script file

4 posts in this topic

Hi, ther's a way to load variables located into another ".au3" or compiled ".exe" file?

I need that variables and/or constants located in a ".au3" or compiled ".exe" file can be accessed by other autoit scripts.

For those have used batch scripts: using a "call batchFile.bat" command can be loaded variables located into the "batchFile.bat" file, i need the same thing in autoit.

Thanks.

Share this post


Link to post
Share on other sites



You could save them from one script into a text file and read out the text file with the other script, or do the same with a slqite database, or if there both running at the same time you could use a hidden window to communicate between the two , another thing to do would be search the forum for posts the same question has been asked in.

Like and like .


GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.

Share this post


Link to post
Share on other sites

Uhm Yoriz that seems horribly complicated.

hunter32, you can just #include those scripts at the top of your other script.

Like

#include "myscript.au3"

Share this post


Link to post
Share on other sites

For my purpose, the "#include" parameter is what I want.

Thanks.

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