sereby.aio/opsi-WinPKG.au3

27 lines
1.5 KiB
AutoIt
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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 ---