Jump to content

Recommended Posts

Posted

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

Posted

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.

:D That was a kinda complicated way of just saying yes.

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...