oneguy Posted November 16, 2009 Share Posted November 16, 2009 Hi, For the life of me I can't see how you can call an autoit script within another autoit script. That is, I have say 6 scripts, called one.au3, two.au3, etc. I want a master script which in turn runs "one.au3" then upon completion of that script, runs "two.au3" and so on. I suppose I can make those scripts into an executable and use DOS to batch them - but I'd prefer to do this via the script if possible. Neither "Call" nor "Run" looks to be the answer. Any hints? Link to comment Share on other sites More sharing options...
omikron48 Posted November 16, 2009 Share Posted November 16, 2009 (edited) Depends on if .au3(s) are associated to AutoIt. If so, ShellExecuteWait? Otherwise: RunWait(@AutoItExe & " /AutoIt3ExecuteScript " & $file & " " & $params) Edited November 16, 2009 by omikron48 Link to comment Share on other sites More sharing options...
Bert Posted November 16, 2009 Share Posted November 16, 2009 You could simply make each script (with some possible changes to each) a function so that you have all of them in one script. It would then be a simple matter of calling each function. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
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