jollypk Posted June 5, 2017 Posted June 5, 2017 This is strange behaviour with python pynput. When I am running a listener for mouse and keyboard activities, Autoit is not able to send the correct keys. Like Send("^c",0) is sent as "c" only. Does anyone know of way out from here? Thanks
Developers Jos Posted June 5, 2017 Developers Posted June 5, 2017 What are you expecting it to send? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Malkey Posted June 6, 2017 Posted June 6, 2017 This works for me. Sleep(3000) ; Within the first 3 secs of running the script, place the cursor before the first of the two words that you wish to copy. Send("^+{Right 2}") ; Select text Send("^c") ; Copy selected text MsgBox(0, "Copied", ClipGet())
jollypk Posted June 6, 2017 Author Posted June 6, 2017 Thanks. I have to select a cell in excel, so I used the excel's script of .Select It doesn't work with that. Also, did u test the above with pynput listeners On? I know that this forum is not for pynput, but this is an integration issue.
Malkey Posted June 6, 2017 Posted June 6, 2017 2 hours ago, jollypk said: ... Also, did u test the above with pynput listeners On? .... No
jollypk Posted June 14, 2017 Author Posted June 14, 2017 I abandoned the pynput package. No problems with core libraries. Thanks Guys
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now