43 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
39
views
Why are the colors mixed up in this screenshot taken using Robot.js?
I'm using Robot.js to take screenshots (I don't really want to install any other heavy packages over 1 mb, but I'm already using Robot.js and no, Jimp isn't what I'm looking for). Since the ...
2
votes
0
answers
139
views
Optimizing Mouse Movement Functionality During Screen Sharing
I am currently developing a screen-sharing application similar to Anydesk or TeamView using Electron, React, NodeJS (signalling sever) and RobotJS (for simulating mouse move events).
I have used ...
2
votes
1
answer
561
views
My plugin won't run created with Node.js Stream Deck SDK and RobotJS
I would like to make a more advanced keyboard and mouse emulator to alternate the built-in actions.
Started from a plugin template.
Built it without any changes and it worked.
Then installed robotjs ...
0
votes
1
answer
149
views
How to write text into external app from Electron app
I'm building an Electron app for Mac, Windows, and Ubuntu.
This works fine on Mac.
The message gets written to whatever app had focus before my app did (and now has focus again, now that my Electron ...
0
votes
1
answer
120
views
Win+L combination not working using robotjs library
I am trying from to run the Win+L command using 'robotjs' but it is not working.
I tried this:
robot.keyToggle("command", "down");
robot.keyTap("l");
robot.keyToggle(&...
2
votes
1
answer
494
views
robotjs windows+L combination
I'm trying to use the RobotJS library to press the Windows key + L key, but I don't know how to point to the Windows key, and I'm not finding any answers online. Can you help me with this?
I've ...
0
votes
1
answer
62
views
Mouse Clicks on a Cloud VM?
I have a NodeJS application that uses Selenium and RobotJS to do some browser automation. Specifically, RobotJS is used to perfom clicks on the browser (Chrome) context menu. Running this application ...
2
votes
1
answer
2k
views
I can't include the RobotJS module in my ElectronJS project
I am developing a desktop application for Windows using ElectronJS. I want to include the RobotJS module in my project, but I can't seem to figure out how to do it. I successfully downloaded the ...
3
votes
2
answers
2k
views
robotjs npm install ERROR: gyp ERR! (Ubuntu 20.04)
I have node.js installed and I have tried various commands and installations but I keep getting a weird error when trying to do
npm install robotjs
So this is the error
root@name-VirtualBox:/home/...
0
votes
1
answer
189
views
Instantly type in keyboard using JavaScript
I'm currently developing a RPA application. I need to type a text in keyboard, but I need this process to be executed instantly (as if it were a copy and paste).
I've tried Nut.js and Robotjs but both ...
0
votes
1
answer
825
views
Compiled against a different Node.js version using NODE_MODULE_VERSION
Nodejs version: v12.22.11
Electron version: ^11.1.0
RobotJS version: ^0.6.0
The following error message will be prompted when executing the project.
App threw an error during load
Error: The module ...
0
votes
1
answer
2k
views
So many errors when trying to install RobotJS through "npm install robotjs". Any idea whether I'm missing some dependency or something else?
When I run npm install robotjs I get a huge error message (pasted at the bottom).
So far, I've tried:
purging and reinstalling node
apt-get purge nodejs
rm -r /etc/apt/sources.list.d/nodesource....
0
votes
1
answer
580
views
Keyboard macro press X each few secons while i press other keys
I'm playing a game that i need to press X each 1 sec, while i press other keyboard keys, but my hands are responding to pain
first i tried to do it on javascript:
const robot = require("robotjs&...
1
vote
1
answer
348
views
Javascript RobotJS colorAt function only working on one window
I have a JavaScript script that uses robotJS to find the color of pixels on the screen. I have created a test function that uses the current position of the mouse to read the color of pixels and ...
6
votes
1
answer
5k
views
Is there anything similar to PyAutoGUI for NodeJS that can try to locate an image inside a screen capture?
I am trying to code a bot to automate some tasks on a videogame with JS and Node, so far I've been using RobotJS. The problem I'm facing is that I need to find something on the screen as it moves from ...