Is it possible to find out graphical attributes, e.g. the image name,
of the mouse pointer ?
Mouse actions and positions are implemented already with Ranorex.Mouse...
members.
Mouse Pointer Attributes
You can get and set the color of the pixel at the mouse pointer position.
The functions RxPixelGetColor and RxPixelSetColor support this functionality in RanorexCore.
We don't support this in RanorexNet at the moment, but you can use the functions with DllImport.
You can retrieve the name and a lot of properties of the controls at the mouse position.
I don't know any possibilities, how to get the image name at the mouse pointer.
But you can get a region of the display as an image and compare it with images in the memory, so you can check the image name indirectly.
It's not an easy way, but it should be work.
Jenö Herget
Ranorex Team
The functions RxPixelGetColor and RxPixelSetColor support this functionality in RanorexCore.
We don't support this in RanorexNet at the moment, but you can use the functions with DllImport.
You can retrieve the name and a lot of properties of the controls at the mouse position.
I don't know any possibilities, how to get the image name at the mouse pointer.
But you can get a region of the display as an image and compare it with images in the memory, so you can check the image name indirectly.
It's not an easy way, but it should be work.
Jenö Herget
Ranorex Team