midi to keystroke in max any suggestions?

Aug 28, 2008 at 4:32pm

midi to keystroke in max any suggestions?

Hi everybody… I’m new in this forum so Hi!

And I have a question:

Does anyone have an idea how to build a midi CC to keystroke thingy in Max which runs on Mac and Windows. Or might there be an external?

Something like this:

I press C#1 on my keyboard and my computer does “CMD+ALT+T”

I know that there are several programs that do something like this, but I want that functionality in one monolithical maxpatch.

#39471
Aug 28, 2008 at 5:18pm

aka.keyboard

http://www.iamas.ac.jp/~aka/max/#aka_keyboard

amazing stuff.
Written for max 4.6 but works fine in max 5 for me.

#139069
Aug 31, 2008 at 9:48am

The suggested solutions only work on MAC (here’s another one: http://www.stilomatic.net/07/index.php?option=com_content&task=view&id=34&Itemid=27).

I am looking for a Windows solution (or prefereable multi-platform as asked for by the thread-starter). At the moment Bome’s Midi Translator seems to be the only solution for Windows, but if I have to use that one I can just stay with my Reaktor patch and go through Bome instead of learning Max for an ellegant all in one solution.

So if anyone knows a Windows/Multi-platform solution, please let us know.

#139070
Aug 31, 2008 at 11:10am

Hi Timur…

#139071
Aug 31, 2008 at 11:37am

Hey Loso,

welcome to this forum… err… wait… welcome myself, too. :D

#139072
Aug 31, 2008 at 11:39am

I wonder if maybe Javascript could be a solution that could work on both OSes? I know Macscript can do keystroke and mousebutton emulation, but can Javascript do that?

#139073
Sep 3, 2008 at 11:42am

Well, I take the absence of answers as a “no one knows”.

Autohotkey kind of does the trick on Windows, but that’s an inferior solution to using Bome (which now runs on both PC and Mac) and still an inferior solution to doing it all in Max.

Is there no Windows (or better cross-platform) based External that allows sending Keystrokes out of Max?

#139074
Sep 14, 2008 at 7:48am

Timur schrieb:
> Well, I take the absence of answers as a “no one knows”.
>
> Autohotkey kind of does the trick on Windows, but that’s an inferior
> solution to using Bome (which now runs on both PC and Mac) and still
> an inferior solution to doing it all in Max.

In the original question, it was about controling Max itself with these
keystrokes, though I don’t know for what purpose. I bet you don’t need
to emulate keystrokes to do what you want…

Emulating keystrokes for other Programs from within Max is a different
story, because it is highly OS specific. On a Mac you would use
applescript, on a PC I don’t know. I doubt you’d be able to come up with
a cross platform solution without creating completely different
applications for each platform…
Usually only the application in front takes keystrokes anyway, better
look for other ways to communicate to your application…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#139075
Sep 15, 2008 at 12:19pm

Thanks for the reply, Stefan.

The original question was about the same as mine, namely how to make Max output keystrokes. As it seems there are only Mac based externals for that and no cross-plattform solution. One can use Applescript on Mac and Autohotkey scripts on PC, but then again it’s two separate solutions and the second time it takes to precompile these scripts lead to some latency.

We will either stick to Mac only for the Max patch then or use Bome’s Midi Translator and output midi instead.

Thanks again!

#139076
Sep 1, 2009 at 2:47pm

Hello i am quite new to this.

I am trying to understand how to
make the keystroke point to à another program

i have used aka.keyboard but i don’t understand
how you set the output.

Example: key #C to Shift+y in Microsoft Word.

I want to Solveig this in Max.
I don’t want to use midipipe, applescript or or other external programs

/many thanks

#139077
Sep 1, 2009 at 4:14pm

I’m not sure what you mean by #C to Shift Y, but this patch just sends Shift Y every second. Try loading this up and then switching to word and see what happens:

– Pasted Max Patch, click to expand. –

Does this help?

#139078
Sep 2, 2009 at 5:32am

This time it worked. Thanks to you.
I thought that aka.keyboard was the input.
But now i realize that it was à output.

Thanks again

/fresh

#139079
Jun 22, 2010 at 3:05pm

As for me, I use ProteMac KeyBag as a keystroke.

http://protemac.com/keybag/

#139080
Jun 28, 2010 at 8:57am

autobot mxj script, tweak to your liking:

http://cycling74.com/forums/topic.php?id=23608

#139081

You must be logged in to reply to this topic.