File tree 1 file changed +22
-3
lines changed
1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,13 @@ Only tested on Mac OS X using Node.js v0.10.31. I'm working on rewriting RobotJS
9
9
10
10
Based on [ autopy] ( https://github.com/msanders/autopy ) .
11
11
12
- ##Installing##
12
+ ##Installing
13
+
13
14
```
14
15
npm install robotjs
15
16
```
16
17
17
- ##Examples##
18
+ ##Examples
18
19
Get the mouse location and move it.
19
20
20
21
``` JavaScript
@@ -30,7 +31,25 @@ robot.moveMouse(mouse.x,mouse.y+100);
30
31
// Left click!
31
32
robot .mouseClick ();
32
33
```
33
- ##Progress##
34
+
35
+ ##Building
36
+
37
+ RobotJS uses [ node-gyp] ( https://github.com/TooTallNate/node-gyp ) for building.
38
+
39
+ Install node-gyp using npm:
40
+
41
+ ```
42
+ npm install -g node-gyp
43
+ ```
44
+
45
+ Then confgure and build:
46
+
47
+ ```
48
+ node-gyp configure
49
+ node-gyp build
50
+ ```
51
+
52
+ ##Progress
34
53
35
54
| Module | Status | Notes |
36
55
| ------------- | -------------: | ------- |
You can’t perform that action at this time.
0 commit comments