Does anyone know a clever way to make OCR do the following:
I have a list of 10 links. I want to click on 5 of them. I want to do this with a repeat loop that will repeat for each item of ListOfThingsToClick.
set ListOfThingsToClick to [
My links look like this:
The obvious issue is that if I tell it to repeat for each item ListOfThingsToClick its going to find “Apple” in three places. And if I tell it to just click the first item of everyimagelocation I’m going to get “Green Apple” twice. Even if I set “first item” to a counter, I still won’t get the clicks I want.
Best I can think of is to tell it to OCR the stuff ‘nearby’ and make sure there are no other characters in the vicinity. But that’s tricky of course because there will generally be other artifacts on any given page. It would also be time-consuming.
Let’s assume I don’t want to take image captures of my links.
I feel like someone probably knows a clever way to make OCR ‘care’ about what’s around it, but maybe I’m expecting too much. Just thought I’d check. I’ll probably have to convert everything to images and deal with the outliers.
IBM | Senior Software QA Engineer
Digital Transformation Center (DTC) | OIT