0

The idea behind this is to use a key combination in order to echo a very frequently used string. Say shift+backspace must echo to the screen "Thank you". I don't know where to start and what exactly to do. I have experience in programming(C/C++/Java) but I am totally new to scripting. Any help or advice would be greatly appreciated. Thanks in advance.

Kish
  • 132
  • 1
  • 4
  • Why scripting? Presumably, to do this, you would need to write a daemon/service that monitors the keyboard's input: I think that would be a whole lot easier in a system language like C/C++... Anyway, I believe there's software available that already does this -- can't remember what it's called -- so at least you know it's possible! – Xophmeister Jul 01 '12 at 11:14
  • That sounds a lot easier Xophmeister, is there anyway I could get started with writing such daemons? – Kish Jul 02 '12 at 09:32
  • No idea! Try Googling for how to write Windows services... Note that I assume you want to affect the whole system -- i.e., pressing your desired key combination in any application is captured and reinterpretted by your service -- if it's just for a specific application, however, then this approach would be a bit overkill! – Xophmeister Jul 02 '12 at 10:09
  • (Sorry: I assumed Windows for some reason!... Still, same advice for *nixes: just replace "service" with "daemon") – Xophmeister Jul 02 '12 at 10:15
  • It is for the whole system alright, and yeah it is targeted at Windows OS for the time being. Tried googling, but there seem to be no tutorials on daemons and stuff to a person completely new to the domain. – Kish Jul 02 '12 at 17:59

1 Answers1

0

I don't know how to write a Windows service, but these links seem pretty accessible; especially for someone with C/C++ system programming experience.

If that's no good: it's been done. It's open source, so if you want to implement something similar yourself, their source repo is on GitHub.

Xophmeister
  • 8,884
  • 4
  • 44
  • 87