Sinisterly
question> generate keyboard events - python - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Python (https://sinister.li/Forum-Python)
+--- Thread: question> generate keyboard events - python (/Thread-question-generate-keyboard-events-python)



question> generate keyboard events - python - phiber - 10-31-2013

Is there a way to generate keyboard events to the system in python or in any other language?
its like, im coding a virtual keyboard, if i press the enter key in the virtual keyboard, then the system will
also press the enter key to whatever software or program is focused. THANKS


question> generate keyboard events - python - phiber - 10-31-2013

Is there a way to generate keyboard events to the system in python or in any other language?
its like, im coding a virtual keyboard, if i press the enter key in the virtual keyboard, then the system will
also press the enter key to whatever software or program is focused. THANKS


RE: question> generate keyboard events - python - Slarek - 10-31-2013

I don't know how to do this in Python, but since language didn't matter, here's C++:
http://stackoverflow.com/questions/2659841/how-to-press-the-keys-on-keyboard-without-using-keyboard


RE: question> generate keyboard events - python - Slarek - 10-31-2013

I don't know how to do this in Python, but since language didn't matter, here's C++:
http://stackoverflow.com/questions/2659841/how-to-press-the-keys-on-keyboard-without-using-keyboard


RE: question> generate keyboard events - python - Deque - 10-31-2013

See here for an answer: http://stackoverflow.com/questions/13564851/generate-keyboard-events


RE: question> generate keyboard events - python - Deque - 10-31-2013

See here for an answer: http://stackoverflow.com/questions/13564851/generate-keyboard-events