Can max output keystrokes ?

Jan 22, 2010 at 6:59pm

Can max output keystrokes ?

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

Jan 22, 2010 at 7:04pm

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

Jan 22, 2010 at 9:08pm

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.


Jan 23, 2010 at 10:45am

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

Jan 23, 2010 at 11:32am

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

Jan 23, 2010 at 5:39pm

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

Jan 23, 2010 at 7:20pm

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

Jan 23, 2010 at 7:31pm

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.

Jan 24, 2010 at 12:24am

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


You must be logged in to reply to this topic.