Added home visit summary, right click menu, and EPS

This commit is contained in:
2022-05-25 19:08:23 +01:00
parent ab4e987a87
commit e62940c2af
12 changed files with 176 additions and 8 deletions

View File

@@ -30,4 +30,18 @@ check_in_win_title(match) {
} else {
return false
}
}
; From pulovers macro creator
CenterImgSrchCoords(File, ByRef CoordX, ByRef CoordY)
{
static LoadedPic
LastEL := ErrorLevel
Gui, Pict:Add, Pic, vLoadedPic, % RegExReplace(File, "^(\*\w+\s)+")
GuiControlGet, LoadedPic, Pict:Pos
Gui, Pict:Destroy
CoordX += LoadedPicW // 2
CoordY += LoadedPicH // 2
ErrorLevel := LastEL
}