I didn’t find any object able to output keystrokes, any idea ?
I’m not sure about windows, but for mac there is aka.keyboard. There are probably others out there as well!
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.
Thank you very much, I am on mac, so I am gonna try the aka objects.
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
cmd doest have a key number, because it does not do anything when it is pressend alone.
Well… if so, how can I output, for instance, cmd+Z with the aka.keyboard ?
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.
Thanks Raja and the others.
I am leaving home for a few gigs in spain, I’ll try if I can , or next week…
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.