trey
Junior Member
Posts: 12
|
Post by trey on Nov 29, 2022 4:35:42 GMT
This is from the event log of a run that is giving me issues. The line in particular is:
22 | IF | OCR | At location [X:643 Y:53 W:636 H:229]::Lang eng::To string OCR::Remove CR LF | TEXT CONTAINS | Feed | GOTO MACRO LINE | Enter_email | ELSE | 22 | RUN ACTION | WAIT SECONDS | 10
The intent here is that if it doesn't find text containing the word "Feed", then it should wait 10 seconds. If it does, then go to macro line "Enter_email". Instead it looks like OCR isn't finding text or characters, but nonetheless takes the GOTO MACRO LINE path, rather than wait 10 seconds. Why does it default to a TRUE condition if there isn't any text found?
|
|
trey
Junior Member
Posts: 12
|
Post by trey on Dec 1, 2022 14:50:42 GMT
Uh, when I try the line
I also get
|
|
trey
Junior Member
Posts: 12
|
Post by trey on Dec 1, 2022 20:44:48 GMT
Steve Sorry for pinging, this has got me hard stuck for the last week. Any ideas what's happening here?
|
|
|
Post by Steve on Dec 2, 2022 3:49:22 GMT
Hi treyI have ran your line 22 and have it working exacly as expected. When it doesn't find the text it executes the else condition and it does wait. Are you running the latest version of MMM and do you have the plugins installed for OCR? What OS are you running?
|
|
trey
Junior Member
Posts: 12
|
Post by trey on Dec 2, 2022 17:26:54 GMT
Thanks Steve I appreciate the timely response. I'm still getting this bug intermittently and I can't isolate the cause, but it's happening with similar lines (different At location parameters, but otherwise that's it), and it's a big wrench thrown into the gears when it does. Every time it happens is the same sequence though, it reports but then evaluates the condition as TRUE. I've attached a screengrab of my specs to this post, couldn't figure out how to embed the pic. Attachments:
|
|
trey
Junior Member
Posts: 12
|
Post by trey on Dec 3, 2022 17:32:43 GMT
Steve This keeps happening and I can't for the life of me figure it out. Here's another example from today: ??
|
|