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

+24
View File
@@ -0,0 +1,24 @@
Opt("WinTitleMatchMode", 2)
Global $log = @ScriptDir & "\pos.log"
FileDelete($log)
Global $pid = Run(@ScriptDir & "\test.exe")
Local $h = WinWait("PARAVIS FLASH", "", 20)
FileWriteLine($log, "окно: " & $h)
Sleep(1500)
WinActivate($h)
Sleep(500)
Local $wp = WinGetPos($h)
MouseMove(Int($wp[0]+180), Int($wp[1]+97), 0)
Sleep(300)
MouseDown("left")
Sleep(200)
MouseUp("left")
Sleep(800)
Local $a = WinList()
For $i = 1 To $a[0][0]
If $a[$i][0] <> "" Then
Local $q = WinGetPos($a[$i][1])
If IsArray($q) Then FileWriteLine($log, $a[$i][0] & " @ " & $q[0] & "," & $q[1] & " " & $q[2] & "x" & $q[3])
EndIf
Next
FileWriteLine($log, "главное: " & $wp[0] & "," & $wp[1] & " " & $wp[2] & "x" & $wp[3])