I want to click ‘left’ of the target in CV Click. In Click Image activity we can use OffsetX and OffsetY to slightly modify the target click. How to do the same in CV Click ?
Descriptor of CV Click:
`"Target: Text '" + straccount + "' (0,0,0,0)"`
`"Target: Text '" + straccount + "' (-50,-60,0,0)"`
The above change does not give any different result!!
"Target: Text '"+str_ItemToBeUnchecked +"' (0,0,0,0) OffsetPoint: (-45,0) "
But my problem statement is I have to click on the ‘CheckBox’ left of the Text. The length of the text is variable. Hence the center point keeps changing, making my clicks after Offset values inaccurate!
In the image, I am identifying the ‘ItemCode’ eg: 2831, 3422,CATAPULT3170RED via CV Click Descriptor, but a fixed OffSet is not making the uncheck!
To make it dynamic first get the output region using cv activities and identify the size…based on that pass a dynamic calculated value to the offset so that everytime based on the region output the offset value changes as well