-
Notifications
You must be signed in to change notification settings - Fork 951
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
Use AutoIt DLL on windows instead of current way. #218
Comments
Hi there, I'm familiar with AutoIt and the DLL, AutoHotkey also provides one. Visual studio and Python are no longer required to install RobotJS, and most of the Windows features are already implemented. Thanks for the suggestion! |
I see. I confused build dependency on Visual Studio and Python with runtime dependency. Really sorry for wasting your time. It's a great project that you've got going on here. |
No worries man! It's a great idea, honestly not one I considered. It might be cool to make a wrapper as a side project, with a similar API to AutoIT. |
That'd be great. I used to hang around AutoIt forums a lot in it's early days. It'd be nice to see it's legacy continue in nodejs. |
I started a project a while back called node-ahk with similar goals. I'd still like to continue it at some point, probably with a focus on window manipulation since RobotJS already does mouse and keyboard stuff. |
Hello. First of all, this is an amazing project. Thanks for offering it as open source for us. There is something I am trying though and I can't find a solution for. It's on windows... So far I tried with robotjs to doubleclick an icon which launched a window fine, then sent some keys, but that window is not active (focused), so the keys were sent to the desktop, so no use... Also, I tried to use node's "child_process" to open a window, which works too, but I don't how (or if it's even possible) to integrate robotjs in that stream to make it interact with the opened window/app. Here is the code I use.var robot; });What I noticed is that it opens the notepad window fine, then it writes "Hello in console", even though it's after the robotjs call, then only when I close the notepad window, it writes 'Hello from robot' also in the console, instead of the currently active window, as it should. Maybe your brilliant minds will elucidate this issue. |
@1j01 that's awesome, it would be great if a library for window manipulation existed! @artitmedia does it work if you click on the window after it's opened? |
I'm going to close this, @artitmedia if you still need help please open a new issue. Thanks! |
https://www.autoitscript.com/site/
It is somewhat similar to AutoHotKey and they have a history. One is derived from the other. Regardless, AutoIt provides
AutoItX
. basically a windows DLL that can be used in other applications to provide most of the features provided by AutoIt. It contains cursor control, keyboard, global hooks, image/pixel features etc.I believe it's worth considering as an alternative to the current process on windows which requires visual studio and python to be installed.
The text was updated successfully, but these errors were encountered: