Ah... I remember that! I was cheating the "Open With" feature to make some rudimentary python plugins possible. Man, those were the days!
Let me look and see if it's doable with the current plugin framework. Shouldn't be too hard to slap something together that could accomplish that, if so.