← Back to team overview

sikuli-driver team mailing list archive

[Bug 1888678] [NEW] [request] Randomized mouse route from A to B?

 

Public bug reported:

---------------- example implementation
https://github.com/xvol/bezmouse

--------------------------------------------

Hi,

Im planning on building a script that needs to move the mouse from
region A to region B but with a random route. So i dont want it to go
perfectly straight from A to B but randomly everytime it does so it
really looks like human movement. A bit wiggly or so or like a snake
sometimes, just random.

Is there a known way to do this?

In the same way i want the mouse to click randomly within region A and
region B. Not on the same pixel everytime just randomly somewhere within
a box i draw.

Please let me know,
Made a lot of scripts with Sikuli is by far my favorite at the moment but never done something like this yet.

Thanks alot,
Stephan

** Affects: sikuli
     Importance: Low
     Assignee: RaiMan (raimund-hocke)
         Status: In Progress

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => Low

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 2.0.5

** Description changed:

+ ---------------- example implementation
+ https://github.com/xvol/bezmouse
+ 
+ --------------------------------------------
+ 
  Hi,
  
  Im planning on building a script that needs to move the mouse from
  region A to region B but with a random route. So i dont want it to go
  perfectly straight from A to B but randomly everytime it does so it
  really looks like human movement. A bit wiggly or so or like a snake
  sometimes, just random.
  
  Is there a known way to do this?
  
- 
- In the same way i want the mouse to click randomly within region A and region B. Not on the same pixel everytime just randomly somewhere within a box i draw.
+ In the same way i want the mouse to click randomly within region A and
+ region B. Not on the same pixel everytime just randomly somewhere within
+ a box i draw.
  
  Please let me know,
  Made a lot of scripts with Sikuli is by far my favorite at the moment but never done something like this yet.
  
  Thanks alot,
  Stephan

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1888678

Title:
  [request] Randomized mouse route from A to B?

Status in Sikuli:
  In Progress

Bug description:
  ---------------- example implementation
  https://github.com/xvol/bezmouse

  --------------------------------------------

  Hi,

  Im planning on building a script that needs to move the mouse from
  region A to region B but with a random route. So i dont want it to go
  perfectly straight from A to B but randomly everytime it does so it
  really looks like human movement. A bit wiggly or so or like a snake
  sometimes, just random.

  Is there a known way to do this?

  In the same way i want the mouse to click randomly within region A and
  region B. Not on the same pixel everytime just randomly somewhere
  within a box i draw.

  Please let me know,
  Made a lot of scripts with Sikuli is by far my favorite at the moment but never done something like this yet.

  Thanks alot,
  Stephan

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1888678/+subscriptions


Follow ups