node-key-sender
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -115,3 +115,3 @@ var exec = require('child_process').exec; | ||
var command = 'java -jar \'' + jarPath + '\' ' + arrParams.join(' ') + module.getCommandLineOptions(); | ||
var command = 'java -jar \"' + jarPath + '\" ' + arrParams.join(' ') + module.getCommandLineOptions(); | ||
@@ -118,0 +118,0 @@ return exec(command, {}, function(error, stdout, stderr) { |
{ | ||
"name": "node-key-sender", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "NodeJs lib to send keyboard input to the operational system.", | ||
@@ -5,0 +5,0 @@ "main": "key-sender.js", |
@@ -5,3 +5,3 @@ # node-key-sender | ||
It uses a jar file (Java), so Java Run Time is required on the operational system you are running your node project. | ||
It uses a jar file (Java), so Java Run Time is required on the operational system you are running your node project (version 8 or above). | ||
@@ -21,3 +21,4 @@ **Bugs and issues**: Please, post any issues to https://github.com/garimpeiro-it/node-key-sender/issues. | ||
- Multi platform (it will work in all operation systems that Java can run); | ||
- It will send the key to the current focused application in the operational system. | ||
- It will send the key to the current focused application in the operational system; | ||
- It is sensitive to the operational system, keyboard driver and phisical keyboard installed on the running platform. | ||
@@ -284,3 +285,3 @@ # Installation | ||
We recommend you search for key codes in the Java [java.awt.event.KeyEvent](https://docs.oracle.com/javase/7/docs/api/java/awt/event/KeyEvent.html) class doc. The key codes are the constants starting with "VK_". To use it with this lib, just take out these three letters and you can use the rest of the constant name. For example, VK_SHIFT constant you use "shift". VK_A constant you use 'a'. The constant numerical value can also be used with an "@" in the beginning. So "@16" for VK_SHIFT and "@65" for VK_A. | ||
We recommend you search for key codes in the Java [java.awt.event.KeyEvent](https://docs.oracle.com/javase/7/docs/api/java/awt/event/KeyEvent.html) class doc. The key codes are the constants starting with "VK_". To use it with this lib, just take out these three letters and you can use the rest of the constant name in lowercase. For example, VK_SHIFT constant you use "shift". VK_A constant you use 'a'. The constant numerical value can also be used with an "@" in the beginning. So "@16" for VK_SHIFT and "@65" for VK_A. | ||
@@ -287,0 +288,0 @@ Use this website to get an idea of what key code is bound to each key of your current keyboard: https://www.w3.org/2002/09/tests/keys.html. |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
84700
472
1