Sign in to follow this  
Followers 0
NeptuneIT

Passing and accepting variables

4 posts in this topic

Is there a way to pass and accept variables between different scripts? I've been writing values to an ini file and then reading those values from my other script and it works fine. I'd like to be able to pass variables from other programs, however, and accept them through my autoit script.

Ideally I'd like to be able to compile my autoit script and run it from the command line (c:\MyScript.exe var1). Thanks for the help!

Share this post


Link to post
Share on other sites



Hi,

if you do not need to do that while the script is running have a llok at $cmdline command line parameters.

Or maybe TCPSend

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Hi,

if you do not need to do that while the script is running have a llok at $cmdline command line parameters.

Or maybe TCPSend

So long,

Mega

$cmdline was exactly what i was looking for...thanks for the help!!!

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