Skip to content

Commit

Permalink
Merge pull request #14 from octalmage/robotjs-global-delay
Browse files Browse the repository at this point in the history
RobotJS global delay functions.
  • Loading branch information
dthree committed Sep 1, 2015
2 parents 76257ef + 7231303 commit 5c3d56b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"remoteDocUrl": "https://raw.githubusercontent.com/dthree/wat/master/docs/",
"remoteConfigUrl": "https://raw.githubusercontent.com/dthree/wat/master/config/",
"remoteArchiveUrl": "https://api.github.com/repos/dthree/wat/tarball",
"docIndexLastWrite": "2015-09-01T00:20:18.460Z",
"docIndexSize": 3569
"docIndexLastWrite": "2015-09-01T01:04:24.425Z",
"docIndexSize": 3636
}
2 changes: 1 addition & 1 deletion config/index.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"vorpal":{"delimiter":{"__basic":239},"exec":{"__basic":566},"find":{"__basic":293},"index":{"__install":32,"__basic":658},"pipe":{"__basic":316},"show":{"__detail":1180,"__basic":143},"use":{"__basic":366},"session":{"delimiter":{"__basic":302},"index":{"__basic":255},"log":{"__basic":311},"prompt":{"__basic":629}},"on":{"client_command_error":{"__basic":79},"client_command_executed":{"__basic":82},"client_keypress":{"__basic":74},"client_prompt_submit":{"__basic":72},"command_registered":{"__basic":77},"index":{"__basic":592}},"mode":{"action":{"__basic":753},"delimiter":{"__basic":389},"index":{"__basic":477},"init":{"__detail":1176,"__basic":566}},"command":{"alias":{"__basic":209},"autocompletion":{"__detail":1623,"__basic":501},"description":{"__basic":221},"hidden":{"__basic":210},"index":{"__basic":467},"option":{"__basic":633},"remove":{"__basic":233},"action":{"index":{"__basic":177}}}},"vantage":{"auth":{"__detail":2836,"__basic":331},"banner":{"__basic":650},"index":{"__install":36,"__basic":1021},"listen":{"__detail":2488,"__basic":421},"on":{"client_command_error":{"__basic":80},"client_command_executed":{"__basic":83},"client_connect":{"__basic":67},"client_connect_error":{"__basic":73},"client_disconnect":{"__basic":70},"client_error":{"__basic":65},"client_keypress":{"__basic":75},"client_prompt_submit":{"__basic":73},"command_registered":{"__basic":78},"index":{"__basic":1089},"server_command_received":{"__basic":76},"server_connection":{"__basic":70},"server_disconnect":{"__basic":70}},"firewall":{"accept":{"__basic":349},"index":{"__basic":407},"policy":{"__basic":360},"reject":{"__basic":344}}},"robotjs":{"getMousePos":{"__basic":125},"getPixelColor":{"__basic":145},"getScreenSize":{"__basic":148},"index":{"__install":409,"__basic":261},"keyTap":{"__basic":292},"keyToggle":{"__basic":456},"mouseClick":{"__detail":187,"__basic":187},"mouseToggle":{"__basic":322},"moveMouse":{"__basic":180},"moveMouseSmooth":{"__basic":201},"typeString":{"__basic":147}},"js":{"json":{"stringify":{"__basic":363}},"array":{"concat":{"__basic":330},"entries":{"__basic":251},"every":{"__basic":259},"fill":{"__basic":183},"filter":{"__basic":475},"findIndex":{"__basic":289},"forEach":{"__basic":276},"from":{"__detail":825,"__basic":279},"index":{"__basic":317},"indexOf":{"__basic":288},"isArray":{"__basic":282},"join":{"__basic":189},"keys":{"__basic":199},"lastIndexOf":{"__basic":317},"length":{"__basic":252},"map":{"__basic":429},"of":{"__basic":183},"pop":{"__basic":179},"push":{"__basic":208},"reduce":{"__basic":614},"reduceRight":{"__basic":644},"reverse":{"__basic":137},"shift":{"__basic":184},"slice":{"__basic":315},"some":{"__basic":312},"sort":{"__basic":391},"splice":{"__basic":873},"unshift":{"__basic":176},"values":{"__basic":234}}},"chalk":{"bgBlack":{"__basic":264},"bgBlue":{"__basic":259},"bgCyan":{"__basic":259},"bgGreen":{"__basic":264},"bgMagenta":{"__basic":274},"bgRed":{"__basic":254},"bgWhite":{"__basic":264},"bgYellow":{"__basic":269},"black":{"__basic":233},"blue":{"__basic":298},"bold":{"__basic":244},"dim":{"__basic":239},"enabled":{"__basic":353},"gray":{"__basic":228},"green":{"__basic":233},"hasColor":{"__basic":177},"hidden":{"__basic":205},"index":{"__basic":713},"inverse":{"__basic":237},"italic":{"__basic":280},"magenta":{"__basic":243},"red":{"__basic":223},"reset":{"__basic":254},"strikethrough":{"__basic":314},"stripColor":{"__basic":340},"styles":{"__basic":404},"supportsColor":{"__basic":361},"underline":{"__basic":260},"white":{"__basic":233},"yellow":{"__basic":238}}}
{"vorpal":{"delimiter":{"__basic":239},"exec":{"__basic":566},"find":{"__basic":293},"index":{"__install":32,"__basic":658},"pipe":{"__basic":316},"show":{"__detail":1180,"__basic":143},"use":{"__basic":366},"session":{"delimiter":{"__basic":302},"index":{"__basic":255},"log":{"__basic":311},"prompt":{"__basic":629}},"on":{"client_command_error":{"__basic":79},"client_command_executed":{"__basic":82},"client_keypress":{"__basic":74},"client_prompt_submit":{"__basic":72},"command_registered":{"__basic":77},"index":{"__basic":592}},"mode":{"action":{"__basic":753},"delimiter":{"__basic":389},"index":{"__basic":477},"init":{"__detail":1176,"__basic":566}},"command":{"alias":{"__basic":209},"autocompletion":{"__detail":1623,"__basic":501},"description":{"__basic":221},"hidden":{"__basic":210},"index":{"__basic":467},"option":{"__basic":633},"remove":{"__basic":233},"action":{"index":{"__basic":177}}}},"vantage":{"auth":{"__detail":2836,"__basic":331},"banner":{"__basic":650},"index":{"__install":36,"__basic":1021},"listen":{"__detail":2488,"__basic":421},"on":{"client_command_error":{"__basic":80},"client_command_executed":{"__basic":83},"client_connect":{"__basic":67},"client_connect_error":{"__basic":73},"client_disconnect":{"__basic":70},"client_error":{"__basic":65},"client_keypress":{"__basic":75},"client_prompt_submit":{"__basic":73},"command_registered":{"__basic":78},"index":{"__basic":1089},"server_command_received":{"__basic":76},"server_connection":{"__basic":70},"server_disconnect":{"__basic":70}},"firewall":{"accept":{"__basic":349},"index":{"__basic":407},"policy":{"__basic":360},"reject":{"__basic":344}}},"robotjs":{"getMousePos":{"__basic":125},"getPixelColor":{"__basic":145},"getScreenSize":{"__basic":148},"index":{"__install":409,"__basic":261},"keyTap":{"__basic":292},"keyToggle":{"__basic":456},"mouseClick":{"__detail":187,"__basic":187},"mouseToggle":{"__basic":322},"moveMouse":{"__basic":180},"moveMouseSmooth":{"__basic":201},"setKeyboardDelay":{"__basic":132},"setMouseDelay":{"__basic":116},"typeString":{"__basic":147}},"js":{"json":{"stringify":{"__basic":363}},"array":{"concat":{"__basic":330},"entries":{"__basic":251},"every":{"__basic":259},"fill":{"__basic":183},"filter":{"__basic":475},"findIndex":{"__basic":289},"forEach":{"__basic":276},"from":{"__detail":825,"__basic":279},"index":{"__basic":317},"indexOf":{"__basic":288},"isArray":{"__basic":282},"join":{"__basic":189},"keys":{"__basic":199},"lastIndexOf":{"__basic":317},"length":{"__basic":252},"map":{"__basic":429},"of":{"__basic":183},"pop":{"__basic":179},"push":{"__basic":208},"reduce":{"__basic":614},"reduceRight":{"__basic":644},"reverse":{"__basic":137},"shift":{"__basic":184},"slice":{"__basic":315},"some":{"__basic":312},"sort":{"__basic":391},"splice":{"__basic":873},"unshift":{"__basic":176},"values":{"__basic":234}}},"chalk":{"bgBlack":{"__basic":264},"bgBlue":{"__basic":259},"bgCyan":{"__basic":259},"bgGreen":{"__basic":264},"bgMagenta":{"__basic":274},"bgRed":{"__basic":254},"bgWhite":{"__basic":264},"bgYellow":{"__basic":269},"black":{"__basic":233},"blue":{"__basic":298},"bold":{"__basic":244},"dim":{"__basic":239},"enabled":{"__basic":353},"gray":{"__basic":228},"green":{"__basic":233},"hasColor":{"__basic":177},"hidden":{"__basic":205},"index":{"__basic":713},"inverse":{"__basic":237},"italic":{"__basic":280},"magenta":{"__basic":243},"red":{"__basic":223},"reset":{"__basic":254},"strikethrough":{"__basic":314},"stripColor":{"__basic":340},"styles":{"__basic":404},"supportsColor":{"__basic":361},"underline":{"__basic":260},"white":{"__basic":233},"yellow":{"__basic":238}}}
7 changes: 7 additions & 0 deletions docs/robotjs/setKeyboardDelay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## robot.setKeyboardDelay(ms)

Set the delay between keyboard events in milliseconds.

```js
robot.setKeyboardDelay(10);
```
7 changes: 7 additions & 0 deletions docs/robotjs/setMouseDelay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## robot.setMouseDelay(ms)

Set the delay between mouse events in milliseconds.

```js
robot.setMouseDelay(10);
```

0 comments on commit 5c3d56b

Please sign in to comment.