Forum Discussion
Babulu
2 years agoContributor
HI Sanjayram,
U can click two ways.
1 ocr.Recognize("Your object").BlockByText(m_BlockTxt, m_Position).ClickR
2.
OCR.RecognizeText("Image", "English", OCRSpeed.Fast);
let ocrResult = OCR.GetRecognizedText("Image");
let recognizedText = ocrResult.Text;
let textPosition = ocrResult.Position;
let xOffset = 10;
let yOffset = 10;
let mousePositionX = textPosition.X + xOffset;
let mousePositionY = textPosition.Y + textPosition.Height + yOffset;
aqObject.MouseClick(mousePositionX, mousePositionY, MouseButton.RightButton);
u can change the posotion xOffset = 20,30,40.....etc
Related Content
- 7 years ago
- 6 years ago
- 4 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago