DrDemonic Posted February 20, 2010 Posted February 20, 2010 I am just wondering if there is a way to open one script from another, passing variables over to the second. Basically, I am writing an encryption tool. I am writing my own algorithms for it. The algorithm will be specified through the gui by the user. So the tool needs to call the second script, send the encryption method specified, and pass the variables containing what file to encrypt and such to the second script. Is their a simple way to do this?
whim Posted February 20, 2010 Posted February 20, 2010 (edited) Welcome to the forum ! Looking up "Command Line Parameters" in the help file would be a good start HTH, wim Edited February 20, 2010 by whim
dani Posted February 20, 2010 Posted February 20, 2010 You could also just #include the second script, and then call one of its functions and pass the parameters you want.
Fire Posted February 20, 2010 Posted February 20, 2010 This way too: Run(@AutoItExe & ' /AutoIt3ExecuteScript "scriptfile.au3"') [size="5"] [/size]
LoWang Posted February 20, 2010 Posted February 20, 2010 I think you don't have a reason to make second script. Just put it whole into Func and call it with parameter. Or am I missing something?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now