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

Send keystroke outside the app. #624

Open
qroft opened this issue Nov 17, 2020 · 1 comment
Open

Send keystroke outside the app. #624

qroft opened this issue Nov 17, 2020 · 1 comment

Comments

@qroft
Copy link

qroft commented Nov 17, 2020

As the documentation is not online ATM I would love to know if I can do this with robotjs:

Let's say I create an electron app and there is a button with the binding for F1 (help key under Windows).
Can this keystroke be send to an outside program running like MS Windows ?

So, I want to send the F1 not directly from within Word, but through my own electron app.

Thanks and best wishes!

@JairusSW
Copy link

Doing the same thing! Havn't found any solution besides using two computers and having a window open on #1 and moving the mouse on #1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants