Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Emoji Instead of Copying #6

Closed
tomershvueli opened this issue Jun 9, 2021 · 5 comments
Closed

Write Emoji Instead of Copying #6

tomershvueli opened this issue Jun 9, 2021 · 5 comments
Labels
Feature-Request Requesting a new feature

Comments

@tomershvueli
Copy link
Contributor

Me again :)

I'm not sure if this is a limitation of Electron or cross-platform applications, but am thinking it could be handy if when selecting an emoji from the list it actually writes it out where the cursor is instead of copying the character. This saves a bit on the user, as well as not overwriting the user's clipboard which may contain data they planned on using.

Are there any plans to implement something like this?

@virejdasani
Copy link
Owner

I'll try to implement this too, thanks!

@virejdasani virejdasani added the Feature-Request Requesting a new feature label Jun 9, 2021
@tomershvueli
Copy link
Contributor Author

@virejdasani I did some looking into this. To send keyboard events the sendInputEvent method exists, however, I /believe/ this will only work to send keyboard events to our BrowserWindow, which isn't what we want in this case. What I am seeing though, is we could potentially use RobotJS in order to send keyboard strokes to the OS. It's your call if you want to move forward with something like that. If so, I can put in a PR and bring it in along with this functionality.

@virejdasani
Copy link
Owner

Thanks a lot, ao ahead with making the PR and I'll merge it!

@tomershvueli
Copy link
Contributor Author

@virejdasani see PR #7 - happy to answer any questions you may have!

@virejdasani virejdasani added help wanted Extra attention is needed Feature-Request Requesting a new feature and removed Feature-Request Requesting a new feature help wanted Extra attention is needed labels Jul 5, 2021
@virejdasani
Copy link
Owner

Resolved in #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Request Requesting a new feature
Projects
None yet
Development

No branches or pull requests

2 participants