Hallo Leute,
ich möchte bei der Installation der Programme die Tastatur und Maus sperren.
Erst wenn das MsgBox "Status der CAD-Installation" kommt, dann soll die Tastatur und Maus entsperrt werden.
Was mache ich hier falsch:
[autoit];Sperren Tastatur und Maus
Blockinput(1)
;~ Angang der Installation
MsgBox(0, "CAD-Installation", "Installation PlotFlow", 3)
ShellExecuteWait("C:\install\PlotFlow.exe")
MsgBox(0, "CAD-Installation", "Installation Sikla", 3)
ShellExecuteWait("C:\install\Sikla.exe")
;~ Ende der Installation
MsgBox(0,"Status der CAD-Installation","Folgende Programme wurden erfolgreich installiert:"&@CRLF&"-------------------------------------------------------------"&@CRLF&"PlotFlow"&@CRLF&"Sikla")
If WinWait("Status der CAD-Installation","Folgende Programme wurden erfolgreich installiert:") Then
;Entsperren Tastatur und Maus
Blockinput(0)
EndIf
Besten Dank im Voraus!
Viele Grüße,
Dino