Opening External Application with Max

Mar 25, 2013 at 10:59am

Opening External Application with Max

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

#67324
Mar 25, 2013 at 11:05am

check out the vst~ object.

#242214
Mar 25, 2013 at 11:11am

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

#242215
Mar 25, 2013 at 11:25am

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/

#242216
Mar 27, 2013 at 9:33am

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.

#242217
Mar 27, 2013 at 2:38pm

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.

#242218
Mar 27, 2013 at 5:05pm

cool! thanks for your help!

#242219

You must be logged in to reply to this topic.