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,20 @@
|
||||
Opt("WinTitleMatchMode", 2)
|
||||
Local $h = WinWait("PARAVIS FLASH", "", 10)
|
||||
If $h = 0 Then
|
||||
ConsoleWrite("no window" & @CRLF)
|
||||
Exit
|
||||
EndIf
|
||||
Local $w = WinGetPos($h)
|
||||
Local $c = WinGetClientSize($h)
|
||||
Local $b = ControlGetPos($h, "", "[CLASS:Button; INSTANCE:1]")
|
||||
Local $borderX = ($w[2] - $c[0]) / 2
|
||||
Local $titleH = $w[3] - $c[1] - $borderX
|
||||
Local $sx = $w[0] + $borderX + $b[0] + $b[2] / 2
|
||||
Local $sy = $w[1] + $titleH + $b[1] + $b[3] / 2
|
||||
ConsoleWrite("win=" & $w[0] & "," & $w[1] & " size=" & $w[2] & "x" & $w[3] & @CRLF)
|
||||
ConsoleWrite("client=" & $c[0] & "x" & $c[1] & " border=" & $borderX & " title=" & $titleH & @CRLF)
|
||||
ConsoleWrite("btn=" & $b[0] & "," & $b[1] & " " & $b[2] & "x" & $b[3] & @CRLF)
|
||||
ConsoleWrite("screen_center=" & Int($sx) & "," & Int($sy) & @CRLF)
|
||||
MouseMove(Int($sx), Int($sy), 0)
|
||||
Sleep(1500)
|
||||
ConsoleWrite("mouse at " & MouseGetPos(0) & "," & MouseGetPos(1) & @CRLF)
|
||||
Reference in new issue
Block a user