Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 19:20
    oktapodia commented #534
  • 18:57
    Angshu1 opened #534
  • 18:12
    jonschlinkert commented #280
  • Dec 14 23:54
    otoomey commented #533
  • Dec 14 23:53
    otoomey closed #533
  • Dec 14 23:53
    otoomey commented #533
  • Dec 14 21:44
    otoomey edited #533
  • Dec 14 21:38
    otoomey edited #533
  • Dec 14 21:37
    otoomey edited #533
  • Dec 14 21:36
    otoomey opened #533
  • Dec 11 11:29
  • Dec 11 11:20
    UrielCh opened #532
  • Dec 11 11:16
    UrielCh commented #469
  • Dec 10 13:21
    Build #453 passed
  • Dec 10 13:17
    Th3S4mur41 commented #356
  • Dec 10 13:16
    Th3S4mur41 edited #531
  • Dec 10 13:15
  • Dec 10 13:07
    Th3S4mur41 opened #531
  • Dec 10 12:01
    mcculloughjchris commented #482
  • Dec 10 09:10
    zakrzk commented #482
Can Do
@Azperin
hello, project are dead ?
韩加华
@roy2651
@octalmage hello,robotjs node 8 is support?
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using th
e v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecti
ng "Upgrade Solution...". [H:\tm\tm\client\app\node_modules\robotjs\build\robotjs.vcxproj]
what's this
jareddgotte
@jareddgotte
@roy2651 and any others who might run into this problem, try doing Option 1 first before rebuilding: https://github.com/nodejs/node-gyp#option-1
menglinxi
@menglinxi
how use bower install robotjs ?
Oriol Castellví
@skirep_twitter
hello
anybody uses the robotjs for a web ?
i need to use that with a nightwatchjs scripts
Priyanshu SInha
@pk_sinha_1997_twitter
Hello... Can file path be used to upload file?
Isaiah Odhner
@1j01
@pk_sinha_1997_twitter If you just need to upload a file from Node.js, check out https://stackoverflow.com/questions/25344879/uploading-file-using-post-request-in-node-js
Priyanshu SInha
@pk_sinha_1997_twitter
@1j01 I solved it.
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?