Send message to Keyup or Key?

Feb 5, 2011 at 12:30am

Send message to Keyup or Key?

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

#54808
Feb 5, 2011 at 3:16am

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.

#197339
Feb 5, 2011 at 12:16pm

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.

#197340
Feb 6, 2011 at 10:14pm

Thank you both very much. Very helpfull information!

#197341

You must be logged in to reply to this topic.