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

Switch to RobotJS instead of keysender #54

Open
MrFastDie opened this issue Oct 17, 2023 · 2 comments
Open

Switch to RobotJS instead of keysender #54

MrFastDie opened this issue Oct 17, 2023 · 2 comments

Comments

@MrFastDie
Copy link

Hey,

could you consider switching from keysender to RobotJS? The main problem with keysender is that its windows only (this references #43 )

I'd also like to use this bot while on vacation using my mac or linux notebook. If you're open to it I would try to implement the change and open a PR. If not please let me now so I dont waste any of my time.

@jsbots
Copy link
Owner

jsbots commented Oct 17, 2023

Hey, I believe keysender is much richer and robust library, apart from easy window management which robotjs lacks it also allows to use pixel recognition for the background windows (which is needed for multiple fishing and atl-tab modes, but it's for Premium only so let's omit this argument). I do plan to move the bot to nut.js though, which is as good as keysender and should allow to build the bot for both linux and macos.

@MrFastDie
Copy link
Author

To be fair I don't have any experience in capturing windows and manipulating input using javascript, all I did was a fast google search and robot seemed to be the more robust one. I've seen nut.js aswell though. So if you're up to it I would give it a shot and open a PR if I succeed.

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