Forums > MaxMSP

Can max output keystrokes ?

January 22, 2010 | 6:59 pm

I didn’t find any object able to output keystrokes, any idea ?

January 22, 2010 | 7:04 pm

I’m not sure about windows, but for mac there is aka.keyboard. There are probably others out there as well!

January 22, 2010 | 9:08 pm

for a windows version have a look at Max for Live discussion about "clip delete".
Someone wrote a java object for keystroke working on PC.


January 23, 2010 | 10:45 am

Thank you very much, I am on mac, so I am gonna try the aka objects.

January 23, 2010 | 11:32 am

Ok I tried, this seems to work fine. Although, I can’t manage to output the cmd key. It seems that it’s not the key 55 as shown in the help file.
Any idea about how to find the number of the cmd key ?
I am on os 10.6

January 23, 2010 | 5:39 pm

 cmd doest have a key number, because it does not do anything when it is pressend alone.

January 23, 2010 | 7:20 pm

Well… if so, how can I output, for instance, cmd+Z with the aka.keyboard ?

January 23, 2010 | 7:31 pm

Does [keydown 55, key 6, keyup 55 ] not work for you? BTW, I don’t recommend simulating a command+q, it logs me out rather than quitting max as you would expect.

January 24, 2010 | 12:24 am

Thanks Raja and the others.
I am leaving home for a few gigs in spain, I’ll try if I can , or next week…

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