Skip to content

Error: Asyncifno returned with status error 2147500037 #27

Description

@Diodium
Image

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions