Maxc
1
I want to search image in a smaller area in order to speed up the process.
When i’m executing the formula
Executing: | visionLimitSearchArea | “area=x1,y1,x2,y2” | |
I get
Target of visionLimitSearchArea could only be either ‘viewport’, ‘full’ or ‘element:…’
ulrich
2
You need to use ${…} for the variables. This will work:
{
"Command": "visionLimitSearchArea",
"Target": "area=${x1},${y1},${x2},${y2}",
"Value": "",
"Description": ""
}
Code taken from the “Sub_XDesktopAutomation_Area” demo macro.