Forums > MaxMSP

Opening External Application with Max

March 25, 2013 | 10:59 am

Hi Everyone,

What I am looking to do is use Max to open an external application and a saved preset.

For example;

Native Instruments ‘Massive’ Plugin & Preset Number 44?!

Is this at all possible? I hope it is!

I have got a feeling the preset part may be a little tricky but Im sure one of you guys knows how!

Regards,

Oli


March 25, 2013 | 11:05 am

check out the vst~ object.


March 25, 2013 | 11:11 am

Hi thanks for the reply, I probably used massive as a bad example, its actually a program that projects interactive animations and the presets are for loading different animations.

I need to make child friendly front end for loading new presets that will be on a touch screen panel, so rather then the child clicking ‘load-hard drive-my documents-preset1′ etc they can just touch a picture of what they want on and it will load.

Regards,

Oli


March 25, 2013 | 11:25 am

well, if you’re on Mac and your program supports Applescript, you can try sending osascript commands with the [shell] external

http://cycling74.com/toolbox/bernstein-shell/


March 27, 2013 | 9:33 am

Hi, would it be possible for you to send me an example of how to do this?

its all quite new to me so Im a little lost.

Regards,

Oli.


March 27, 2013 | 2:38 pm

Oli,
here’s an example:

– Pasted Max Patch, click to expand. –

With this patch I load live sets in Ableton Live selecting the files in Max.

I think you can do something similar if your program supports Applescript (osascript is a command-line interface for Applescript, you can access by [shell]). You just need to find the correct script syntax to control your app.


March 27, 2013 | 5:05 pm

cool! thanks for your help!


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