converting recordings from 120dpi to 96dpi....

Ask general questions here.
Posts: 2
Joined: Wed Dec 16, 2009 9:23 am

converting recordings from 120dpi to 96dpi....

Post by Tintu » Wed Dec 16, 2009 9:29 am

Is there any way to convert and play the recordings that are taken in 120 dpi on 96 dpi screen resolution?

User avatar
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: converting recordings from 120dpi to 96dpi....

Post by Ciege » Wed Dec 16, 2009 4:15 pm

As long as you are not doing X/Y coordinate clicking based on screen location you should be fine. Ranorex should be able to determine where the object is by name or other identifying property and select it accordingly.

is something not working for you when you switch resolutions? Can you describe what is happening and provide a snippet of your code where the error exists?
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!


User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: converting recordings from 120dpi to 96dpi....

Post by Support Team » Wed Dec 16, 2009 5:54 pm

In general, the only problem you could have switching from 120 to 96 DPI (and vice versa) are the (absolute) relative coordinates the recorder uses to move/click inside UI elements.

By default, the Ranorex Recorder uses relative coordinates inside the UI elements identified by a RanoreXPath to further specify the move/click location. You can disable that behavior, so the recorder will always click at the center of UI elements, by changing the "Record relative element coordinates" in the recorder configuration (see ... ation.html).
Note, though, that this may cause problems with some UI elements, e.g. Ranorex will then always click at the center of a textbox, not at the actual point you clicked when recording. You can then specify relative coordinates that are proportional to the length and width of the UI element (e.g. 0.25;0.25 will click at the upper left part of the UI element), which should be the same on 120 and 96 DPI environments, by editing the "Element Location" property of the individual mouse items. (See ... ctor_1.htm for documentation on proportional relative locations).

Ranorex Support Team