aadityajain08
New Member
- Joined
- Nov 20, 2018
- Messages
- 9
Hi Team,
I have an requirement where i need to move the mouse cursor to to particular element on the screen. I tried to look the code but only able to find the code by setcursorposition where in you need to have the coordinates.
Is there any possibility that we can move mouse cursor without coordinates and by element value or name.
Alternatively, if above is not possible, then how can we find the coordinates of particular element on the screen. Also, if these coordinates are independent of the different desktop and laptop, screen resolutions. Because if i will hardcode the coordinates in my code and ran the code on different system then will it work or fail.
Please suggest.
Regards;
Aditya Jain
I have an requirement where i need to move the mouse cursor to to particular element on the screen. I tried to look the code but only able to find the code by setcursorposition where in you need to have the coordinates.
Is there any possibility that we can move mouse cursor without coordinates and by element value or name.
Alternatively, if above is not possible, then how can we find the coordinates of particular element on the screen. Also, if these coordinates are independent of the different desktop and laptop, screen resolutions. Because if i will hardcode the coordinates in my code and ran the code on different system then will it work or fail.
Please suggest.
Regards;
Aditya Jain