mbkowns Posted April 15, 2008 Posted April 15, 2008 Is there a way to do a RunWait() for a function? This way I can have all my code in functions and run the next one when it completes. example RunWait(_InstallAltiris()) _InstallAltiris() _VirusScanFramepkg() thanks
someone Posted April 15, 2008 Posted April 15, 2008 Autoit only does one thing at a time... so that is how it works. Once you've called a function, unless you (based on some error conditioning say) tell it to break executing that function, it will continue until completion. That was a kinda complicated way of just saying yes. While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd
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