Code Monkey home page Code Monkey logo

Comments (6)

OlegGulevskyy avatar OlegGulevskyy commented on August 28, 2024 1

Actually it was totally my bad, I was misusing the library - instantiating it in the wrong place of execution :) Thank you for your help though!

from hotkey.

changkun avatar changkun commented on August 28, 2024

I think this is a known issue, see #11

from hotkey.

OlegGulevskyy avatar OlegGulevskyy commented on August 28, 2024

So this means that there is no solution currently? Sorry I am far from familiar with native terms, so hard to understand the conclusion from the linked issue

from hotkey.

changkun avatar changkun commented on August 28, 2024

The reason for having this error is that someone else had registered this hotkey combination already. To solve it, guarantee the key combination does not conflict with others.

I think @ventsislav-georgiev worked on potential solutions before, but we have not converged to a satisfactory solution yet.

from hotkey.

OlegGulevskyy avatar OlegGulevskyy commented on August 28, 2024

So this means that if some app, somewhere somehow assigned a key bind and this app is not even active anymore / not listening for key use, this lib won't be able to use this shortcut anyway? Because I am assigning completely "random" shortcut making sure it is not used (when I use it nothing happens), it still returns an error

from hotkey.

changkun avatar changkun commented on August 28, 2024

I think if you already grabbed the combination for your application successfully, future registration won't impact your registration anymore.

I don't entirely sure how you did random shortcuts, but I am pretty confident that some combination will work. Otherwise, it should be a system issue rather than the library itself.

from hotkey.

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.