ascii output to Live

did a quick search, didnt find anything…
Noob here, really enjoying MAX… Basically im trying to use MAX to replace Bomes Midi Translator. So Max will be taking in a MIDI note or cc and send out an ascii character(s) to Ableton Live. Does anyone know how this could be done, or Could anyone point me in the direction of an object that can output ascii characters to Live. Thanks in advance…

> did a quick search, didnt find anything…
> Noob here, really enjoying MAX… Basically im trying to use MAX to
> replace Bomes Midi Translator. So Max will be taking in a MIDI note or
> cc and send out an ascii character(s) to Ableton Live. Does anyone
> know how this could be done, or Could anyone point me in the direction
> of an object that can output ascii characters to Live. Thanks in
> advance…

On OSX, it is possible with Applescript, I recently did a small Max
patch to trig an "undo" in Live with a MIDI pedal:

Patrick Delges schrieb:
>
> On 11 juin 07, at 11:17, !include wrote:
>
>> did a quick search, didnt find anything…
>> Noob here, really enjoying MAX… Basically im trying to use MAX to
>> replace Bomes Midi Translator. So Max will be taking in a MIDI note or
>> cc and send out an ascii character(s) to Ableton Live. Does anyone
>> know how this could be done, or Could anyone point me in the direction
>> of an object that can output ascii characters to Live. Thanks in
>> advance…
>
> On OSX, it is possible with Applescript, I recently did a small Max
> patch to trig an "undo" in Live with a MIDI pedal:
>
> osascript -e ‘tell application ""System Events"" to tell process "Live"
> to keystroke "z" using {command down}’
>
> But Bomes Midi Translator is for windows, so I suppose you want a
> windows solution.
>
>
> _____________________________
> Patrick Delges
>
> Centre de Recherches et de Formation Musicales de Wallonie asbl
> http://users.skynet.be/crfmw/max

Still the best thing seems to be to have Max send MIDI to your MIDI translator program. On Mac, I’ve been doing the same thing with OSCulator, but sending the data from Max via OSC. OSCulator then sends keystrokes to my choice of application. That is, until someone creates an object to send keystrokes to another app.

sorry if im not too MAX savy yet, but i tried copying your code into a max patcher and couldnt paste, im using the current max demo, on os x tiger. Im mostly using windows for audio these days, but id really like to switch over to OSX, maybe this will help me make the transition. Thanks for the assistane and the code.

Quote: Patrick Delges wrote on Tue, 12 June 2007 01:38
—————————————————-
>
> On 11 juin 07, at 22:46, !include wrote:
>
> > sorry if im not too MAX savy yet, but i tried copying your code into a
> > max patcher and couldnt paste, im using the current max demo, on os x
> > tiger.
>
> I just tried to paste the code I sent to this list, and it works for me.
> You may try to paste in a text editor (TextWrangler for instance), save
> and open the file in Max.
>
> _____________________________
> Patrick Delges
>
> Centre de Recherches et de Formation Musicales de Wallonie asbl
> http://users.skynet.be/crfmw/max
>
>
—————————————————-

wierd, using camino max wouldnt take the code, switched over to safari and it works fine. thanks again.

There is no more link on this page to your patch, Patrick (post #106521 empty).
Could you please tell me if I can find it somewhere ? I would like to send keystrokes to applications, and it seems that your work do it. (I’m on OSX).

If you’re under X.9, maybe you’ll have to change some settings in the Security&Privacy/Privacy/Accessibility pref pane.
I strangely didn’t need to – maybe I found a security hole.midiStroke can be if some use too.

Actually what I’m trying to do is a "background" Max patch (combined to Mira), allowing me to make basic operations on my OS and on some software, such as "Zoom In/Out in Word" or in Max ; like a remote control for most commonly used software.

Works perfect for Word !

But for Max, I always have a quick "white blinking screen" when I press the "Zoom In" button in my patch : Zoom is made, then a blink (or blink before the zoom… :) anyway, what I want is made, with an extra blink. This blink is not there for Word).
Do you know why this blink appears, and if it is possible to remove it ?