Opening other applications from within patcher


    Nov 02 2006 | 12:37 am
    Is there an object out there that allows you to open up other applications from within a max patcher? I'm working on an app that allows the user to take a picture of him/herself and save it to disk as a jpeg. Ideally I'd like the same jpeg to open up automatically in Photoshop after being saved. Thanks in advance!

    • Nov 02 2006 | 1:11 am
    • Nov 02 2006 | 3:29 am
      Quote: pichiste@gmail.com wrote on Thu, 02 November 2006 13:37 ---------------------------------------------------- > Is there an object out there that allows you to open up other applications from within a max patcher? I'm working on an app that allows the user to take a picture of him/herself and save it to disk as a jpeg. Ideally I'd like the same jpeg to open up automatically in Photoshop after being saved. ----------------------------------------------------
      messagebox:
      ;max launchbrowser "disk://path/to/image.jpg"
      Replace the path with a real one, obviously. If Photoshop is the default handler for .jpg files, it will open in Photoshop.
      Alternately you can use a path to the Photoshop app itself, and Photoshop will open, but that won't open the image.
    • Nov 03 2006 | 3:55 pm
      Check into the shell object or tap.applescript (on a mac).
      On Nov 1, 2006, at 6:37 PM, Daniel M wrote:
      > > Is there an object out there that allows you to open up other > applications from within a max patcher? I'm working on an app that > allows the user to take a picture of him/herself and save it to > disk as a jpeg. Ideally I'd like the same jpeg to open up > automatically in Photoshop after being saved. > Thanks in advance! > >
    • Nov 06 2006 | 10:00 pm
      got it working with the shell object... sending it the 'open' command followed by a file path. thanks everyone for the responses.
    • Nov 06 2006 | 11:43 pm
      why won't this work with the shell object ?
      open -a finder /Applications/MaxMSP 4.6/
      this one works perfectly
      open -a finder /Applications/
      they both work fine in Terminal ?
      i guess te space in the name is to blame, but i can't figure out how to cansel it out right....
      (same with mkdir, rmdir, etc...)
    • Nov 07 2006 | 12:32 am