Hi All,<br>I am trying to create a custom keyboard driver program(like <a href="http://www.tavultesoft.com/keyman/" target="_blank">http://www.tavultesoft.com/keyman/</a> ) for windows using python. <br>If this python script is run in the background, what is typed should be converted into my native language.<br>
For example if I hit 'a' in the keyboard, the output of the keyboard should be a tamil unicode character(which will be pre-defined by user).<br><br>For making such program, i tried exploring pyHook based on this tutorial. <a href="http://mindtrove.info/articles/monitoring-global-input-with-pyhook/" target="_blank">http://mindtrove.info/articles/monitoring-global-input-with-pyhook/</a><br>
<br>From the tutorial, I have learned to capture the keys typed, but couldn't understand how to change the keys before they reach the windows applications. <br><br>Attached is the sample code I used (In this code basically i am trying to change all the keys typed to 'b' in this code, but its not working )<br>
<br>Please guide me on how i can change the keys sent to the application
using pyHook. Or is there any other library that I can make use of to
create such application.<br><br>Regards,<br>Mugunth<br clear="all"><br>-- <br><br><a href="http://mugunth.blogspot.com" target="_blank">http://mugunth.blogspot.com</a><br>
<a href="http://thamizha.com" target="_blank">http://thamizha.com</a><br><a href="http://tamilblogs.com" target="_blank">http://tamilblogs.com</a><br><br><br>-- <br><a href="http://webspace2host.com" target="_blank">http://webspace2host.com</a><br>
"Your friendly hosting provider"