Forums > MaxMSP

Send message to Keyup or Key?

February 5, 2011 | 12:30 am

Hello Dear Cyclers

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?

/Toneklang


February 5, 2011 | 3:16 am

you can’t fool key or keyup like this, look for [mxj.autobot] on the forums. it’s a Java class that can "create" keystrokes. a third-party program should be able to pick these up.

on mac you can look for the [aka.keyboard] object too.


February 5, 2011 | 12:16 pm

take a look at this thread -> http://cycling74.com/forums/topic.php?id=30864
and see post #6 maybe you can modify the patch to your needs.


February 6, 2011 | 10:14 pm

Thank you both very much. Very helpfull information!


Viewing 4 posts - 1 through 4 (of 4 total)