Ich möchte wissen, wie ich es schaffen kann, dass die funktoin Machen() aufgerufen wird, wenn der Ok button in der MsgBox gedrückt wird.
[autoit]Func Machen ()
Sleep(3000)
Send("Hallo Welt")
EndFunc
$msg=MsgBox(0,"Hallo Welt","Klicke auf Ok um das Prog zu Starten")
If $msg = 0 Then
Machen()
Aso in der Hilfe steht dass es heißt If $msgbox=1 Then aber das funktioniert auch nicht
EndIf
Da steht dann immer der Fehler:
If $msgbox = 0 Then
If ^ ERROR
Was genau mache ich falsch?
In der hilfe steht dass es heißt If $msgbox=1 Then ... aber das funktioniert auch nicht...