GithubHelp home page GithubHelp logo

Comments (13)

mccxiv avatar mccxiv commented on September 26, 2024

I was about to post a new issue, then saw this one.

I'm having the same exact problem on Windows 8.1.
Anyone savvy enough to understand what's going on?

from robotjs.

jekku avatar jekku commented on September 26, 2024

up up up

from robotjs.

Deltatiger avatar Deltatiger commented on September 26, 2024

I can't even get robotjs to install in linux ;/ Some problem with nan 1.3.0 ( or 1.3.1 ). Will have to look into it more.

from robotjs.

koustuvsinha avatar koustuvsinha commented on September 26, 2024

yes trying to print ! will output 1 in linux..

from robotjs.

jekku avatar jekku commented on September 26, 2024

@octalmage Anyone still maintaining robot.js?

from robotjs.

cryptiklemur avatar cryptiklemur commented on September 26, 2024

@jekku Yes, he is.

from robotjs.

geekoftheweek avatar geekoftheweek commented on September 26, 2024

I'm having a similar issue on Windows 10, although I'm trying to send a file path with characters ":()" and getting ";90" instead.

from robotjs.

Deltatiger avatar Deltatiger commented on September 26, 2024

@geekoftheweek I just got robotjs to install on Ubuntu 12.04. Will check the issue there and then move to Windows 10. ETA 2 days.

from robotjs.

octalmage avatar octalmage commented on September 26, 2024

Sorry guys, big project at work. Will test this when I have time.

from robotjs.

Deltatiger avatar Deltatiger commented on September 26, 2024

Can anyone confirm if the reverse ever happens ? When you use robotjs.typeString("123") and get !@#. Just curious.

The problem is that all keys are sent as keyboard input signals. So just like when you type !@# you need to hold down shift. That is not being handled as of yet. This is the case for characters !@#$%^&* (i.e. From 1-8). This fix wont be pretty or easy. I am currently working on this. And this problem is not limited to Ubuntu. I have confirmed this in windows 7 also. I am guessing this is universal.

from robotjs.

octalmage avatar octalmage commented on September 26, 2024

Yeah that's messy, thanks for looking into this @Deltatiger! For now using keyTap is a good workaround. For example:

robot.keyTap("1", "shift");

from robotjs.

octalmage avatar octalmage commented on September 26, 2024

Also @Deltatiger, I tested robot.typeString("123"); in Ubuntu and it works as expected.

from robotjs.

jekku avatar jekku commented on September 26, 2024

Alright then. Just inform us in the version bump when it gets fixed will do the shift for now :)

from robotjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.