I'm new to PureBasic (I only purchased a license the other week). Let me start by saying the PureBasic community seems to be fantastic. It is very helpful to tinker around with other people's code to get a feel of the language, so a big thank you to all who published code on the forum! I'm not really a programmer (the more advanced concepts are way beyond me) and only have limited scripting experience (VBS & AutoIt).
I am working on a little program that (when finished) will replace typed abbreviations with a blurb of text. For example, if I type 'ttyl' in my mail application, I want to replace that text with 'Talk to you later'. I know there are a few applications out there that do exactly what I'm trying to do (Texter comes to mind), but that's not the point.
The point is I just started and I'm already stuck (how typical)! What I'm trying to do is capture the keyboard input from all applications and check them against an array of abbreviations. If the application encounters a known abbreviation, it needs to change it to the predefined text immediately. I did a few searches on the forum and found some examples that relate to hotkeys, but I don't know if that's the way to go. I also found some postings about keyboard hooks, but I'm afraid that's a bit beyond me at the moment. Maybe someone on the forum can show me the door, so I can walk through it?



