Send message to Keyup or Key?

I’m trying to make Max recieve numbers through the object Random connected to metro, into the object key or keyup. What I wan’t it to do, is to think that there is being typed on the keyboard, so if I have a Key object, it will translate these numbers into qwerty values. I wan’t to fool my computer into thinking that I am typing on the keyboard for a thirdparty program.

Is this possible? Or am I facing too serious endless loop problems with this setup?