Randomize mouse path/movement used to get to destination

Asked by Joe Latter

When Sikuli moves the mouse, it always moves in the same robotic, mouse pathway. Is there a way to make Sikuli move the mouse in a different manner instead of the exact same straight pathway it always takes to get to its intended mouse destination?

If this is not possible with the current Sikulix 1.x version, will it be possible in Sikulix2?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
masuo (masuo-ohara) said :
#1

I do not understand what you really want to do.
For example, you can the mouse to be "jump" to the target location.

Settings.MoveMouseDelay = 0
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#Settings.MoveMouseDelay

Revision history for this message
RaiMan (raimund-hocke) said :
#2

No there will not be such a feature.

If needed, you have to calculate your own path from current to target as a serious of locations and use mouseMove() to move the mouse along that path. (Settings.MoveMouseDelay = 0 mandatory in this case)

Can you help with this problem?

Provide an answer of your own, or ask Joe Latter for more information if necessary.

To post a message you must log in.