get max as front app


    Jun 29 2007 | 8:23 pm

    • Jun 29 2007 | 8:49 pm
    • Jun 29 2007 | 9:27 pm
    • Jun 30 2007 | 6:59 am
      funny, I was about to ask exactly the same question !
      ...exepted that I'm on Intel mac : so no shell UB yet, as far as I know.
      I tried with aka.shell, but it just says in the max window :
      "aka.shell: no result"
      and... no result.
      any idea ?
      maybe an applescript ?
      thanks
      Mathieu
      www.maxobjects.com
    • Jun 30 2007 | 7:43 am
      applescript (---> tap.applescript) :
      tell application "MaxMSP"
      activate
      end tell
      so easy ! :-)
      www.maxobjects.com
    • Jun 30 2007 | 7:56 am
      On 30-jun-2007, at 8:59, mathieu.chamagne@gmail.com wrote:
      > funny, I was about to ask exactly the same question !
      > ...exepted that I'm on Intel mac : so no shell UB yet, as far as I
      > know.
      > I tried with aka.shell, but it just says in the max window :
      > "aka.shell: no result"
      > and... no result.
      >
      > any idea ?
      > maybe an applescript ?
      >
      > thanks
      >
      > Mathieu
      the phrase 'tell application "MaxMSP" to activate' is AppleScript
      so it will work with tap.applescript from http://www.electrotap.com/
      taptoolsmax/
      which is UB (and highly recommended)
      another approach is to use a shell script that runs outside of max,
      for example
      #!/bin/sh
      while true
      do
      open "/path/to/your/standalone.app" ;
      sleep 10;
      done
      I use this as a watchdog script, it will open the app if it is
      closed, and it will put it
      in front if it is already open.
      it hardly takes any CPU cycles as the shell script sleeps most of the
      time.
      HtH
      -jennek
    • Jun 30 2007 | 8:26 am
      salut mathieu,
      maxobjects.com is not quite up-to-date on this count:
      jeremy bernstein ported shell to UB and since Max 4.6.3 it works both
      ways.
      available here:
      /*j
      > ...exepted that I'm on Intel mac : so no shell UB yet, as far as I
      > know.
    • Jun 30 2007 | 8:45 am
      Salut Jasch !
      > maxobjects.com is not quite up-to-date on this count:
      > jeremy bernstein ported shell to UB and since Max 4.6.3 it works
      > both ways.
      > available here:
      updated !
      thanks for the info !
      bests
      MathieU
      www.maxobjects.com
    • Jun 30 2007 | 8:48 am