I have no idea what is causign this issue, it only happens on my Mini-Pc.
Code calling OCR.ahk:
GetPrice(x, y := "", w := "", h := "") {
try {
if (y = "") {
region := x
} else {
region := [x, y, w, h]
}
capture := ocr.FromRect(region*)
capture := capture.Text
cleanCapture := RegExReplace(capture, "[^\d]", "")
return cleanCapture ? Integer(cleanCapture) : -1
}
catch {
return -1
}
Is it possible there is strinct Timout somewhere? The machine is giga weak.