Right without position, and not click at the center.
Hello everyone,
I wrote my question because I really don't know how to do what I want.
So, I need to right click on an object in a software, and I can't get the position of my object in its window.
But I can get its position with "Sys.Desktop.MouseX" and "Sys.Desktop.MouseY" but I don't know how to right-click with those positions.
Is there anything general? Something like "Sys.Desktop.ClickR (X,Y)"?
Even if I take the top and left of the window and deduct them from the initial coordinate, I won't be able to right-click on the object, but near it.
Thanks for your help.
Thank you for your reply.
I can't get the name of this object, it is in a web page of our software, and the window where it is located has no child or element.
But I think I found the problem, when I got the coordinates of my object with "mouse.X", my click is not on my block but nearby, because of my screen resolution... Windows 10 is in 125% by default on my computer, when I switch to 100% everything is fine.
Except that all the objects on my desktop are very small ^^.
Thanks for your help.