Download for Windows Download for Linux Download for FreeBSD Download for Mac Manual Wiki Forum IRC Trac

Wednesday, August 13, 2008

TrayDict: EDICT on your systray

A while ago, I posted about Kanamemo, a tool that I made to help me learn Hiragana and Katakana. Another tool that I've made to help me in the learning of the Japanese language was TrayDict:

 



TrayDict is a very simple application that sits on your systray until you bring it up with WinKey+Z. Then it lets you type a word in Kanji, Kana, Rōmaji or English, and it will search for it in EDICT (or any of the other supported dictionaries), returning every match, ordered by relevance.

The catch is: it's a complete hack. I made it in just a few days, without worrying at all about how well it'd work - I just wanted a tool for personal use. Even though I'm posting the link to it here, here are some things that you'll have to keep in mind:
  1. It has a bug that prevents Windows from shutting down as long as it's running. Right click on it on systray and choose "Exit" to terminate it.
  2. There are no options at all. The shortcut is WinKey+Z, and that can't be changed. You can also bring it up/down via systray.
  3. This is no longer maintained, so don't bother sending bug reports and/or suggestions.
 For a long time, I've been meaning to rewrite it, with less bugs, more customization, support for regular expressions, rendering with HTML+CSS, Kanji information, etc... But, alas, I wanted to use HTML to render this, and my experience with Trident, Gecko and WebKit were all catastrophic, so I've lost some interest. But maybe, if there is a demand for it, I'll pick this project up again.

Anyway, here is the Win32 binary: Link
The source is available here, but the HEAD is completely broken (result of my experimentation with Gecko), so you'll have to dig the repository for an older version.

Related Posts by Categories



3 comments:

acro said...

Thank you very much, bugged indeed, but still useful :)

Please pick this project in the future if you will have time for it.

Criptych said...

I'd meant to write something like this myself, one day, since JWPce is no longer maintained either.

As for the "won't let Windows shut down" problem, I had that happen in a few of my own tray-based programs. They were written in C#, but from dict_window.cpp it looks like the fix may be similar as well: instead of canceling (vetoing) the window close event out of hand, check whether the USER or SYSTEM is closing it. If it's the user, hide in the tray, otherwise exit.
I know you're not looking for suggestions, but I hope this helps in future projects.

amz said...

Thanks for the tip, Criptych, it might indeed be useful. :)

Post a Comment

If you need help with Aegisub or have a bug report please use our forum instead of leaving a comment here. If you have a feature request, please go to our UserVoice page.

You will get better help on our forum than in the blog comments.