Add build, deploy and test sources
This commit is contained in:
1 parent
825be27efd
commit
b8dfcda031
115 files changed
+8548
No files matched your search
@@ -0,0 +1,14 @@
|
||||
Opt("WinTitleMatchMode", 2)
|
||||
Local $log = "C:\PF\USBInstaller\test\last-error.txt"
|
||||
Local $h = WinWait("AutoIt Error", "", 5)
|
||||
Local $f = FileOpen($log, 2 + 8)
|
||||
If $h = 0 Then
|
||||
FileWriteLine($f, "окна ошибки нет")
|
||||
Else
|
||||
FileWriteLine($f, "=== ТЕКСТ ОШИБКИ ===")
|
||||
FileWriteLine($f, WinGetText($h))
|
||||
ControlClick($h, "", "[CLASS:Button; INSTANCE:1]")
|
||||
Sleep(500)
|
||||
FileWriteLine($f, "закрыто: " & (WinExists($h) = 0))
|
||||
EndIf
|
||||
FileClose($f)
|
||||
Reference in new issue
Block a user