Click here to Skip to main content
15,900,589 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am looking for a solution that will do change my keyboard keys -(keyboard remapping,keyboard hooker or something else)

if I press A it will type X
and I press B it will type F
and etc etc...

and mostly I want It should a string replacer option.
example if it get - AB it will replace whole string and type M
and etc etc....

I want to active my program and want to type my (this) way anywhere at window.Such notepad,word anywhere.

Anybody do such this project before for their own language? or have any idea?

Thanks in advanced
Posted
Updated 14-Nov-13 7:54am
v2
Comments
CHill60 14-Nov-13 13:55pm    
I have edited your question to remove the text speak .. "wanna" should be "want to". English is not the first language of everyone who uses this forum and use of "txt spk" makes it even more difficult for people to understand your question.
expert-programmer 14-Nov-13 14:00pm    
Thank you a lot.
Have you any solution for my question also?
CHill60 14-Nov-13 14:41pm    
I've posted a link to a similar question with a solution. If it doesn't answer your question then at least it should give you some pointers for further research
Sergey Alexandrovich Kryukov 14-Nov-13 14:33pm    
What is the purpose of it? Depending on the purpose, there could be different solutions. Do you want this mechanism embedded in just one application, or you want to affect some other processes? what would be the lifetime of it, and so on.
—SA
expert-programmer 14-Nov-13 23:07pm    
Very nice question.Thanks for ask me.
It need for a Bangla Word Processing Software project.
If I press keyboard key -
NormalA - ই
ShiftA - ঈ
NormalB- ও
ShiftB-ঔ
if I type ওঔ then this situation (sequence) replace both string and show - উ

I hope you understand clearly.
Have you any solution for my problem?

use keylogger to get the key and write
e.handle = true;
and then
SendKeys.Send("any key according to your wish")
 
Share this answer
 
Comments
expert-programmer 15-Nov-13 2:14am    
Hello Harsh,
Firstly thanks for your comment.
But this is not what I am looking for.
Pls read my question carefully again.

if I use keylogger it do -
if I press A I need to type -B
but using keylogger if I type A it type - AB

Thanks
agent_kruger 15-Nov-13 2:33am    
but if you type e.handle=true; then the pressed key would not be accepted
expert-programmer 15-Nov-13 3:15am    
Wow that's great! sounds good.
what the use of e.Handle=true;
it shows error.
Anyway,
If you have few minutes for me could you pls give me a demo project?
it will be help me a lot.
thanks in advanced.
"e.handle=true" it is to be written in keypressevent
or just create an "keypresseventarg" object and then use it to write "e.handle=true;"
 
Share this answer
 
Comments
expert-programmer 15-Nov-13 3:46am    
Hello,
I don't know which keyboard hook demo you are using.
e.Handle = true;
doesn't contain....
missing assembly or referance...

However could you pls give me your woking demo?
Have a look at this code project post[^]
 
Share this answer
 
Comments
expert-programmer 15-Nov-13 3:51am    
I checked this.
I think this is not helpful for me.
Sorry

Anyway thanks a lot for your nice reply.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900