Well, this is not autoit, but I believe it can be useful to some people who know a little japanese or want to learn it.
This is a little tool I made to make easy typing simple japanese text (No Kanjis).
It's fully written in C, and it's very simple to understand, since the principles can be easily adapted to autoit.
I did it in C because at work I can't have AutoIt, but I have Visual Studio 2005 (that crappy one) with C++ compiler. Most of it was written there, I just made icons and compiled at home using Pelles C.
This is how it works:
- The program registers a hotkey for every letter key and some special keys using RegisterHotkey.
- The hidden window receives the hotkey messages, and it uses a temporary string to parse the japanese letters.
- The user-interface is limited to a interactive tray icon.
Works by just typing things in japanese. Like the sentence "Boku wa kirei desu ne."
Becomes ぼく わ きれい です ね。It has katakana letters too.
Don't get scared by the code. 95% of it are just switches and cases to handle the letter combinations.
And yes, I always give ridiculous names to my programs, most of them starting with the word Magic.
I hope someone can find some use to it.
The executable with source code and Pelles C project is attached.
If you find any bugs, tell me so I can fix it. Any comments are welcome.
EDIT: See update on post below.
Edited by CoePSX, 21 June 2007 - 02:45 AM.