sereby.aio/opsi-WinPKG.au3

27 lines
1.5 KiB
AutoIt
Raw Normal View History

<EFBFBD><EFBFBD>#region ---Au3Recorder generated code Start (v3.3.7.0) ---
#region --- Internal functions Au3Recorder Start ---
Func _Au3RecordSetup()
Opt('WinWaitDelay',100)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
EndFunc
_AU3RecordSetup()
#endregion --- Internal functions Au3Recorder End ---
FileChangeDir(@ScriptDir)
$pid = Run('WinPKG.exe')
Sleep(2000)
If WinExists("WinPKG") Then
WinActivate("WinPKG")
EndIf
while ProcessExists ($pid)
Sleep(1000)
If WinExists("Fehler","Alle Elemente sind s") Then
WinClose("Fehler","Alle Elemente sind s")
MsgBox(4096, "Geos One Opsi Sereby Pack Finischer", "System is Up to Date. Nothing needs to be done!", 5)
EndIf
WEnd
#endregion --- Au3Recorder generated code End ---