Add build, deploy and test sources

This commit is contained in:
Paravis committed 2026-11-13 07:52:38 +03:00
1 parent 825be27efd
commit b8dfcda031
115 files changed
+8548

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
Opt("WinTitleMatchMode", 2)
Global $pid = Run(@ScriptDir & "\test.exe")
Global $h = WinWait("PARAVIS FLASH", "", 20)
Sleep(1800)
WinActivate($h)
Sleep(700)
Local $p = ControlGetPos($h, "", "[CLASS:Static; INSTANCE:7]")
Local $w = WinGetPos($h)
Local $c = WinGetClientSize($h)
Local $offX = $w[0] + ($w[2]-$c[0])/2
Local $offY = $w[1] + ($w[3]-$c[1]-($w[2]-$c[0])/2)
MouseClick("left", Int($offX+$p[0]+$p[2]/2), Int($offY+$p[1]+$p[3]/2), 1, 0)
Sleep(1500)
; состояние всех окон процесса
Local $list = WinList()
For $i = 1 To $list[0][0]
Local $pp = WinGetPos($list[$i][1])
Local $st = WinGetState($list[$i][1])
If IsArray($pp) And $pp[2] > 250 And $pp[2] < 400 And $pp[3] < 200 Then
ConsoleWrite("окно: " & WinGetTitle($list[$i][1]) & " | " & $pp[0] & "," & $pp[1] & " " & $pp[2] & "x" & $pp[3] & " | state=" & $st & @CRLF)
EndIf
Next