Click here to Skip to main content
15,883,705 members
Home / Discussions / C#
   

C#

 
AnswerRe: Ask about OO Concept Pin
Luc Pattyn25-Jun-09 14:48
sitebuilderLuc Pattyn25-Jun-09 14:48 
AnswerRe: Ask about OO Concept Pin
N a v a n e e t h25-Jun-09 15:40
N a v a n e e t h25-Jun-09 15:40 
Questionrunning a service periodically Pin
mark_me25-Jun-09 12:00
mark_me25-Jun-09 12:00 
AnswerRe: running a service periodically Pin
Luc Pattyn25-Jun-09 12:22
sitebuilderLuc Pattyn25-Jun-09 12:22 
GeneralRe: running a service periodically Pin
mark_me25-Jun-09 15:34
mark_me25-Jun-09 15:34 
GeneralRe: running a service periodically Pin
Luc Pattyn25-Jun-09 15:35
sitebuilderLuc Pattyn25-Jun-09 15:35 
Questionkeydown event on minimized form ! Pin
kubibay25-Jun-09 8:46
kubibay25-Jun-09 8:46 
AnswerRe: keydown event on minimized form ! Pin
Rajesh R Subramanian25-Jun-09 9:29
professionalRajesh R Subramanian25-Jun-09 9:29 
kubibay wrote:
What I want briefly is: for example I want to enter "erun" from keyboard and I want internet explorer to run or I want to enter "thk" from keyboard and I want it to be converted "thank you ver much, it's very usefull ... " string. for a programmer it will be very useful to get a long string with a few letters.These were simple examples.
I can use user32.dll but I've tried and couldn't find the way to get letters on this way. It's just running as shortcuts and this way if I assign all letters as shortcut to get them and combine as I wanted they are not be able to entered on the screen then.


Hello!

That's a vague query. I think that you are wanting to build a program, which will replace stuff as you type, on-the-fly (you will type the short form and the program will expand it)?

You will first need to tell us if you need this kind of functionality *just* in your application, or on the whole of the computer. If you wanted your app to perform this kind of task on the whole of the system, the problem is way more complicated than you think it could be. You will need a keyboard hook which will be listening to the keystrokes. And the listening module must be brilliant enough to know if I type "th" in notepad and "k" in excel. And on the other hand, how are you planning to put text into the window that is active ("thank you very much" in place of "thk"). How are you going to select "thk" and "replace" it with the new stuff? What if I start pressing keys in a window which has no typeable area? I can go on asking questions, but what the...

I've done the whole of this stuff before (I worked for a linguistic software firm, wrote a couple of input assistance engines which will predict words from a different language than what's the current one, based on the keyboard input and the current app configuration settings), but I doubt that you will be able to do something of this sort if you don't even know what's all is involved in this.

Ambitious project, sir. However, if you're dead serious, I'd like to tell you that this kind of an app is a perfect candidate for a native language programming language like C++. I shall assist you in that case.

It might also be that I *completely* misunderstood your query, but this is all I am able to make out from your question.


It is a crappy thing, but it's life -^ Carlo Pallini

GeneralRe: keydown event on minimized form ! Pin
kubibay25-Jun-09 9:56
kubibay25-Jun-09 9:56 
GeneralRe: keydown event on minimized form ! Pin
Rajesh R Subramanian25-Jun-09 10:15
professionalRajesh R Subramanian25-Jun-09 10:15 
GeneralRe: keydown event on minimized form ! Pin
kubibay25-Jun-09 10:20
kubibay25-Jun-09 10:20 
GeneralRe: keydown event on minimized form ! Pin
EliottA25-Jun-09 10:25
EliottA25-Jun-09 10:25 
GeneralRe: keydown event on minimized form ! Pin
kubibay25-Jun-09 10:29
kubibay25-Jun-09 10:29 
Questionusing versus out of scope Pin
jackgeek25-Jun-09 8:03
jackgeek25-Jun-09 8:03 
AnswerRe: using versus out of scope Pin
harold aptroot25-Jun-09 8:14
harold aptroot25-Jun-09 8:14 
AnswerRe: using versus out of scope Pin
OriginalGriff25-Jun-09 8:20
mveOriginalGriff25-Jun-09 8:20 
GeneralRe: using versus out of scope Pin
Mirko198025-Jun-09 21:44
Mirko198025-Jun-09 21:44 
QuestionSerial Port synchronous read Pin
12425625-Jun-09 7:56
12425625-Jun-09 7:56 
Questiongui Pin
Alessio Granzotto25-Jun-09 7:34
Alessio Granzotto25-Jun-09 7:34 
AnswerRe: gui Pin
dan!sh 25-Jun-09 7:41
professional dan!sh 25-Jun-09 7:41 
AnswerRe: gui Pin
Arindam Sinha25-Jun-09 22:19
Arindam Sinha25-Jun-09 22:19 
GeneralRe: gui Pin
Alessio Granzotto25-Jun-09 22:27
Alessio Granzotto25-Jun-09 22:27 
QuestionHow to change dynamically Action property of SoapRpcMethodAttribute Attribute ? Pin
redius25-Jun-09 7:27
redius25-Jun-09 7:27 
QuestionWebbrowser Messagebox Dialogresult? Pin
f1ref1re25-Jun-09 6:05
f1ref1re25-Jun-09 6:05 
AnswerRe: Webbrowser Messagebox Dialogresult? Pin
Arindam Sinha25-Jun-09 21:57
Arindam Sinha25-Jun-09 21:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.