i am trying to run this simple code and if he saw a number 5 then it should click on something and later i will add "else if " other number then click on something
but i get error when i run it on if_v2 line
{
"Name": "1",
"CreationDate": "2022-5-25",
"Commands": [
{
"Command": "XClick",
"Target": "4525xh_dpi_96.png",
"Value": "",
"Description": ""
},
{
"Command": "OCRExtractRelative",
"Target": "sj3ypb_dpi_96.png",
"Value": "result",
"Description": "results"
},
{
"Command": "echo",
"Target": "${result}",
"Value": "",
"Description": ""
},
{
"Command": "if_v2",
"Target": "${result} = 5",
"Value": "",
"Description": ""
},
{
"Command": "XClick",
"Target": "xktv3z_dpi_96.png",
"Value": "",
"Description": ""
},
{
"Command": "else",
"Target": "",
"Value": "",
"Description": ""
},
{
"Command": "XClick",
"Target": "iwhatl_dpi_96.png",
"Value": "",
"Description": ""
}
]
}