Skip to content

Commit

Permalink
Merge pull request #56 from elemenofi/patch-1
Browse files Browse the repository at this point in the history
Added whitespace.
  • Loading branch information
octalmage committed Jul 30, 2015
2 parents 023aa03 + 4159921 commit 9de2d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ Get the mouse location and move it.
var robot = require("robotjs");

//Get the mouse position, returns an object with x and y.
var mouse=robot.getMousePos();
var mouse = robot.getMousePos();
console.log("Mouse is at x:" + mouse.x + " y:" + mouse.y);

//Move the mouse down by 100 pixels.
robot.moveMouse(mouse.x,mouse.y+100);
robot.moveMouse(mouse.x, mouse.y + 100);

//Left click!
robot.mouseClick();
Expand Down

0 comments on commit 9de2d95

Please sign in to comment.