Sign in to follow this  
Followers 0
lm1

pass variables

3 posts in this topic

Hey,

I am trying to pass a variable between two scripts. Does anyone know of a simple, autoit way to do this? I thought of perhaps sending the variable to a text file, then pulling that variable with the second autoit script. I would rather pass directly between the two scripts if this is possible. Current setup - script one launches, which then launched script two. Script two defines the variables, which I then need to use in script one. Any suggestions?

Thanks

Share this post


Link to post
Share on other sites



Text File

Registry

Memory mapped file

TCP

Pipes

Mailslots

...

...

...

Just depends on how fancy you want to get. Search the forum and I'll bet there are a lot of solutions.


Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites

you could set up your variables in script 1 and then pass them to script 2 as command line parameters... why do you need 2 scripts to do what you are trying to achieve though??

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