Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Aug 31, 2014
1 parent aad9e6d commit d78304b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
autonode
========

Node.js GUI Automation.

##Examples##
Get the mouse location and move it.

```JavaScript
var autonode = require("autonode.node");
//Get the mouse position, retuns an object with x and y.
var mouse=autonode.getMousePos();

console.log("Mouse is at x:" + mouse.x + " y:" + mouse.y);

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

0 comments on commit d78304b

Please sign in to comment.