I don't know a software to do this, but what about using Autohotkey and sending keystrokes to MED?