Open application from Max/MSP


    Nov 22 2011 | 11:20 pm
    Hi,
    I am trying to open make a patch that opens soundflowerbed upon starting up. I have been reading lots of posts to do with using the shell object to open a file/ file type but I don't understand how to open an application with it. I have written a very basic applescript that works fine, without me having to specify a directory etc... I was wondering if this is possible from within Max/MSP.
    My Applescript looks like this:
    tell application "Soundflowerbed" to activate
    Any help would be appreciated

    • Nov 22 2011 | 11:28 pm
      To send applescript to the [shell] object you need to use special formatting, in this case it would look something like the patch below:
    • Nov 22 2011 | 11:37 pm
      Thanks Luke,
      What don't you know, I could have sworn I tried that already, obviously not though. Works nicely!
      BTW I love your attempt1.maxpatch you posted a few minutes ago.... genius!
      Cheers mate
    • Nov 22 2011 | 11:48 pm
      Not a problem, if you click on my name here there's a link to my website that has a zip of lots of abstractions and javascripts; there's one which lets you type applescript in to a [textedit] and will format the code for [shell] which you might find useful in the future.
      I'll wait until the original poster in the other thread responds and apologise, I had a long, gruelling day at work and needed to blow off steam, I feel a bit guilty now!
    • Nov 23 2011 | 12:06 am
      Hey I know the feeling,
      it nearly put me off posting my own question. Thank you again, I'll check out your website
      Best wishes
      Benny