Is mouse speed set globally by just setting Mouse.DefaultMoveTime somewhere?
Is it overridden on an individual basis by recordings? Or do recordings follow the DefaultMoveTime?
Possible to set mouse move speed globally?
Re: Possible to set mouse move speed globally?
Not sure about in recordings (don't use record/playback) but you can set it in user code and your entire script will follow that setting up until you change it. I usually let it set at the fastest possible and only slow it down when I need to do something that requires a slower mouse move like a drag and drop function.
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!
Ciege...
Ciege...
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Possible to set mouse move speed globally?
Right now, every recording sets the Mouse.DefaultMoveTime right at the beginning of the generated code. That code was intended to make sure the recording works no matter what the default setting is. However, because of that code you can't just set the DefaultMoveTime once in your code to change the move time for every mouse action.afrosteve wrote:Is it overridden on an individual basis by recordings? Or do recordings follow the DefaultMoveTime?
What you can do is add a user-code-item at the beginning of every recording and set the Mouse.DefaultMoveTime there to your desired value. All mouse items should then use the default move time (unless they explicitly specify a different move time in the generated code; an explicit move time for a mouse item is generated if the DefaultMoveTime when recording the action is different to the DefaultMoveTime set when generating the code for the recording).
We already have a bug entry in our list to revise the DefaultMoveTime functionality. Basically, the idea is to configure for a recording or record item whether to use the default or a specific move time.
Regards,
Alex
Ranorex Team
Re: Possible to set mouse move speed globally?
Ok, great. Thanks for the clarification.
Re: Possible to set mouse move speed globally?
Did the planned changes for the mouse move time ever go in or is this still the solution?
thanks
thanks
Re: Possible to set mouse move speed globally?
Hello Support Team!
Can we set the global mouse move over yet in version 3.1.1 and how would i go about doing that?
Thanks
Sierra
Can we set the global mouse move over yet in version 3.1.1 and how would i go about doing that?
Thanks
Sierra
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Possible to set mouse move speed globally?
Hi,
the mouse move time setting is a "per recording" setting, as only the module ones how fast the mouse should move within it to make the replay work as expected.
So, it won't be possible to set the mouse move time globally.
Regards,
Tobias
Support Team
the mouse move time setting is a "per recording" setting, as only the module ones how fast the mouse should move within it to make the replay work as expected.
So, it won't be possible to set the mouse move time globally.
Regards,
Tobias
Support Team
Re: Possible to set mouse move speed globally?
Thanks for the reply. To set the mouse speed for a record module would i follow the steps outlined previously?
Sierra
ThanksWhat you can do is add a user-code-item at the beginning of every recording and set the Mouse.DefaultMoveTime there to your desired value. All mouse items should then use the default move time (unless they explicitly specify a different move time in the generated code; an explicit move time for a mouse item is generated if the DefaultMoveTime when recording the action is different to the DefaultMoveTime set when generating the code for the recording).
Sierra