by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 17 14:05
    clementvp commented #598
  • Sep 17 14:04
    clementvp commented #598
  • Sep 15 10:36
    kunyashaw commented #598
  • Sep 13 02:24
    ktjd123 opened #605
  • Sep 10 20:58
    Zoubi-maker opened #604
  • Sep 08 12:46
    nayan2 closed #602
  • Sep 08 12:46
    nayan2 commented #602
  • Sep 08 12:40
    nayan2 commented #602
  • Sep 08 10:17
    Sergey-Churilin opened #603
  • Sep 08 10:14
    nayan2 commented #602
  • Sep 08 08:20
    Mystraht commented #499
  • Sep 08 08:19
    Mystraht commented #499
  • Sep 08 04:43
    Lucidare commented #499
  • Sep 03 21:32
    s1hofmann commented #602
  • Sep 02 19:30
    nayan2 opened #602
  • Sep 02 15:49
    Build #494 passed
  • Sep 02 15:39
    Build #493 passed
  • Sep 02 15:35
  • Sep 02 15:28
    dependabot[bot] labeled #601
  • Sep 02 15:28
    dependabot[bot] opened #601
Priyanshu SInha
@pk_sinha_1997_twitter
but I have one more query. Installing robotjs on windows fails, until we install build essentials
Isaiah Odhner
@1j01
@pk_sinha_1997_twitter I was guessing you might have. I haven't actually used robotjs, or many other native modules, but... looking at the releases page it looks like it might only have prebuilt binaries for 32bit Windows, and only Node v4.6.x to v5.9.x
(I'm guessing it went thru the whole build process, not just had some weird dependency that it failed on for some reason)
Priyanshu SInha
@pk_sinha_1997_twitter
anyone used robotjs with remote desktop?
like as it works (keyTap, typeString) etc, on native machine, but when that machine is accessed remotely, it fails
any idea?
Isaiah Odhner
@1j01
@pk_sinha_1997_twitter You could try running robotjs on the remote machine, with proxying the API with an RPC module, hopefully over SSH
Priyanshu SInha
@pk_sinha_1997_twitter
Ok @1j01 I will look at it. Thanks. :)
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?