Forum Discussion
Thanks Alex,
But how do i calculate the coordinates using currentWindow and oSearchResult objects ?
Can you help me out here.
Ant the reason I'm using image recognition to click on this button is because 'Object Spy' is unable to identify this button. I don't get a red rectangle over this button( also some other buttons which are on the status bar of my desktop application).
I don't want to use coordinates to click on the button, which is why I chose to do it using image recognition.
Please let me know if I can go ahead with Roberts suggestion in this case.
I have attached the screenshot of the status bar having the red rectangle of 'Object Spy'.
Thanks in advance.
TestCytel wrote:
... 'Object Spy' is unable to identify this button. I don't get a red rectangle over this button( also some other buttons which are on the status bar of my desktop application).
Try enabling MSAA or Text Recognition for the object whose elements you want to identify:
- In the Object Spy, find the WndClass of the object marked by the red frame in your image.
- Add this value to the list in the project properties > Open Applications > MSAA and select the check box next to it. Save the project.
- Try spying on the button again.
- If this did not help, add the WndClass value to the project properties > Open Applications > Text Recognition and try again.
Related Content
- 6 months agomengbinhao
- 11 months agoMW_Didata
- 2 years agorkadali
Recent Discussions
- 21 hours agojstaehlin