Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 22 16:20
    Chappie74 commented #536
  • Sep 21 18:21
    msynk commented #590
  • Sep 21 18:15
    msynk commented #630
  • Sep 21 18:13
    msynk commented #630
  • Sep 21 18:08
    msynk commented #642
  • Sep 21 17:43
    msynk commented #646
  • Sep 21 06:56
    Cloudkkk closed #687
  • Sep 21 02:33
    Cloudkkk commented #641
  • Sep 20 16:09
    Cloudkkk opened #687
  • Sep 19 17:33
    ragauskl commented #678
  • Sep 19 17:32
    ragauskl commented #678
  • Sep 19 16:36
    Ruvik22 commented #590
  • Sep 17 15:44
    theminor commented #252
  • Sep 16 20:53
    jason-crawford-xio commented #678
  • Sep 16 16:48
    jason-crawford-xio commented #678
  • Sep 16 06:04
    jason-crawford-xio commented #678
  • Sep 14 17:44
    stevensanborn closed #631
  • Sep 10 10:01
    raphaelmenges commented #631
  • Sep 09 18:42
    Valachio closed #683
  • Sep 09 13:39
    HadiModarres closed #686
Priyanshu SInha
@pk_sinha_1997_twitter
Hi.. I am getting Jasmine async timeout error while uploading file using robotjs.
can anyone tell me why?
Using protractor as my e2e test framework.
It does the necessary task but gives async timeout error, due to which my test fails
Teu Tio
@_eitatio_twitter
Hey guys, how can i get the coordinates of an application. I need that to start the pointer in specific application, how can i do this?
Priyanshu SInha
@pk_sinha_1997_twitter
Hi! Can anyone help me with how to drag application window?
I can try shortcut Alt+Space -> M -> Arrow Key, but that's quite inefficient IMO. I actually don't know how much shoudl arrow key be tapped.
Isaiah Odhner
@1j01
If you only need Windows support, you could try https://www.npmjs.com/package/winctl
@_eitatio_twitter There's win.dimensions() @pk_sinha_1997_twitter and win.move/moveRelative
(disclaimer: haven't tried it myself)
Priyanshu SInha
@pk_sinha_1997_twitter
Ok @1j01 I will look at it. Looks like this package is not maintained and no releases yet.
EunseokEom
@eseom
how to adjust screen capture png quality
?
Priyanshu SInha
@pk_sinha_1997_twitter
Hi! Can we control web application through robot js?
Isaiah Odhner
@1j01
@pk_sinha_1997_twitter I don't think that's within the scope of RobotJS, but you might be interested in TagUI, TamperMonkey (perhaps with an API thru HTTP with a webserver in Node.js if you need to control it from Node.js), or testing automation systems/platforms (of which there are quite a few)
Priyanshu SInha
@pk_sinha_1997_twitter
@1j01 This will not fit in my needs. Anyways thanks
Isaiah Odhner
@1j01
@pk_sinha_1997_twitter I listed three options. What are your needs? With tampermonkey and a
With a tampermonkey script in the browser, and a webserver in nodejs, you could definitely control a web application from a robot.js script (i.e. nodejs)
sushobhit-lt
@sushobhit-lt
@octalmage I have one problem with robotjs keyTap feature , want to paste data on Mac OS X virtual machine but 'command'+v combination giving previous clipboard
Anthony Stabile
@Adoroam
Has anyone gotten it working with ubuntu 18.04.1 on node 10.11?
Pranav Gupta
@pg07codes
I am having an error installing windows build tools . It says some "older version of MSI is installed please uninstall first". I am using latest node and win10 64 bit .
Any help is appreciated­čÖé
Can Do
@Azperin
n-api has come
Maximus Blackbourne
@mblackbourne

Does anyone know of a good approach to selecting elements by automationID? I am also looking to interact with a button that requires a "hover-over" The application is a Windows WPF using Telerik.

I have been playing around with windows Automation but it is awfully cumbersome.

Maximus Blackbourne
@mblackbourne
Any way to invoke a button via the name?
Richard Lea
@chigix
Hi, when would it be available to get the builds for node 10 +?
kennyli323
@kennyli323
I faced a problem when using the mouse function in windows 10 --- i.e. robotjs.node is not a valid Win32 application.
Yomi Adenaike
@yomiAdenaike01
Hi, i currently run Ubuntu on the latest version when trying to run robotjs it doesn't seem to work because of node version conflicts, i'm trying to use it with electron. I have tried everything and any help will be greatly appreciated.
image.png
Ivan Jeremic
@ivanjeremic
Hello All! I have no idea if this could work but in an Electron I can create additional new BrowserWindows on button click. Is it possible with Robotjs to target this new created Window and automate it?
Saul Lopez
@slopez15
@octalmage Thanks you. For creating robotjs.
I needed this like a couple years ago and tried making it myself, but I couldn't find libraries or clues on how to start. I figured X11 was the way but didn't get far enough to figure it out. There was a file or 2 that keep popping out in C or C++ (probably were wiimote, GetCursorPos, and like really hard to find files). I bookmarked all the parts I could find but after some years it is sorta got lost in my bookmark mess (I will finally organize). Also, reading code can be overwhelming, especially when I don't know what I am looking for.
Can you give some insight how you built this? A youtube video would be cool.
X11 I have to guess is the big part in this. I notice VS code involved, what is that about?--I am guessing for C++ libraries for windows. (getcursorPos?)
Jesse Zhang
@EmptyCrown
is this chat active?
Is it possible to hide the mouse using robotjs, not just change its position?
Wejdene Bannour
@bnwej
how to click on a specific botton using robotjs please
i try to use taiko 's click but i have faced some problems
ZedDev
@zedd3v
hello
Did anyone ever manage to solve moving mouse inside games aka locked cursor
andrewfstratton
@andrewfstratton
Is there some way in robotjs (or another nodejs package) to (preferably temporarily) redirect/switch focus to a non focused application? e.g. allowing robotjs to pause/play media through a key shortcut that is not global and not currently focused. Another example would be to switch microphone on/off in a conference call.
andrewfstratton
@andrewfstratton
note-wmctrl seems to do the switching for linux...
swarfey
@swarfey
Is it possible to use the keyPress function using keycodes?
Bedirhan G├╝ne┼č
@theleaks
image.png
Is there anyone who can help?
Zack E
@YaItsZack
thank you for creating this.
Tsunami
@Tsunami2360
@theleaks you should download python and set an environment variable for it
you can search youtube how to do that, e.g. https://www.youtube.com/watch?v=Y2q_b4ugPWk
@yomiAdenaike01 ive had the same issue, this was what i did to solve it:
  1. npm rebuild
  2. ./node_modules/.bin/electron-rebuild
Is there a way to determine if a click was made by robotjs or by a person?
robinpdev
@robinpdev
Hello, are there any specific instructions for Windows?
i'm trying to install this but the npm command gives an error saying i need to install visual studio
Oh i see, there are no prebuilt binaries
robinpdev
@robinpdev
alright so i built the module for electron on windows, now how do i install it into my project?