-
Notifications
You must be signed in to change notification settings - Fork 66
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
Support for SendKeys module #183
Comments
See https://pypi.org/project/SendKeys/#files and https://www.reddit.com/r/learnpython/comments/7lzocc/sendkeys_not_working_python_3/, it seems it is just available for python 2.7 The download contains in setup.py
, so indeed there seems to be some part missing in the current installation for python 2.7 Just found: Maybe https://code.google.com/archive/p/sendkeys-ctypes/downloads is a python only replacement which works for x86, x64 and also for the minimal package. @sasumner Did you use the x64 bit version of 1.5.4? |
No; was using 32-bit. |
@sasumner Just tried it with 32bit and it worked fine for me. Is _sendkeys.pyd available in your N++ plugins\PythonScript\lib dir?
Have you changed the configuration which python installation is preferred? |
I'm actually using both 32 and 64-bit, so sometimes it gets confusing. :-) Clarification:
No; I have no independent Python 2.7 on my machine. |
@sasumner That makes much more sense and is matching with my findings from the code :-) |
@chcg In the future, having SendKeys available with PS 3.x will be important to me, as part of a "full" install of PythonScript. I see that the import fails under the current 3.0.5alpha (64 bit). Will SendKeys be something that will be available in PS 3 (real release, non-alpha)? |
@sasumner Added a python3 adapted version of SendKeys also to master for 3.0.x version. |
@chcg said:
I use SendKeys for two main reasons. 1. autodismiss for notepad.messageBox()Example:
2. I use the
|
Fixed with https://github.com/bruderstein/PythonScript/releases/tag/v2.0.0 and also in the python3 alpha versions. @sasumner Feel free to add a new request for the messagebox. |
I've notice that in 1.5.4 there seems to be partial support for the
SendKeys
module import:So,
SendKeys
is found, but when that code tries to access_sendkeys
there is a failure because that isn't found.I'd like to use
SendKeys
without having to do "special things" to make it work.Note about 3.0.5alpha:
SendKeys
is not present at all -- can this be added (in full, of course)?The text was updated successfully, but these errors were encountered: