Hi,
I am facing issue with OCRSearch it is returning 2 when only one instance is available. Seebelow my json snippet -
{
"Command": "OCRSearch",
"Target": "out",
"Value": "matches"
},
{
"Command": "if_v2",
"Target": "${matches} == \"1\"", --- Here $matches is having value 2 instead of 1
"Value": ""
},
{
"Command": "XClick",
"Target": "SignOut_dpi_96.png",
"Value": ""
},
{
"Command": "else",
"Target": "",
"Value": ""
},
{
"Command": "echo",
"Target": "\"Already Signed Out\"",
"Value": ""
},
{
"Command": "end",
"Target": "",
"Value": ""
}
Can you please help me here and point out what is going wrong?
Thanks,
Ashiskh