Jump to content

Autoit3 BuG or what?


Recommended Posts

No bug... you need to include a While/Wend statement...

HotKeySet ("{INS}", "func1")
While 1
    Sleep(1000)
WEnd

Func func1()
Send ("cool")
sleep (100)
send ("123")
EndFunc

Basically the While 1 statement will keep the script alive until you exit.

Edited by someone
While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd
Link to comment
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
 Share

  • Recently Browsing   0 members

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