command-line args for standalones?


    Oct 02 2007 | 4:51 pm
    Hey maxers --
    Does anyone know if it's possible to pass in arguments from a command-line invocation of a max-created standalone app? Something like this:
    open maxapp.app 1 2 3 4
    I scanned through the tutorials and list archives and didn't find anything; probably can't be done.

    • Oct 02 2007 | 5:00 pm
      On 2 oct. 07, at 18:51, garton@columbia.edu wrote:
      > Hey maxers -- > > Does anyone know if it's possible to pass in arguments from a > command-line invocation of a max-created standalone app? Something > like this: > > open maxapp.app 1 2 3 4 > > I scanned through the tutorials and list archives and didn't find > anything; probably can't be done.
      This is not supported, like for most UI applications. However, I'd suggest that you create a script which takes those arguments, write them in a file, open your maxapp, and ask your maxapp to look at that file.
      Best, ej
    • Oct 02 2007 | 5:40 pm
      Quoting Emmanuel Jourdan :
      > This is not supported, like for most UI applications.
      That's what I suspected.
      > However, I'd suggest that you create a script which takes > those arguments, write them in a file, open your maxapp, > and ask your maxapp to look at that file.
      and that's what I'll do. Thanks!
    • Oct 02 2007 | 9:30 pm
      Hi,
      put the parameters into an environment variable and read it with proper object in maxmsp if any.
      Rgds Chris
      Emmanuel Jourdan wrote: > On 2 oct. 07, at 18:51, garton@columbia.edu wrote: > >> Hey maxers -- >> >> Does anyone know if it's possible to pass in arguments from a >> command-line invocation of a max-created standalone app? Something >> like this: >> >> open maxapp.app 1 2 3 4 >> >> I scanned through the tutorials and list archives and didn't find >> anything; probably can't be done. > > This is not supported, like for most UI applications. However, I'd > suggest that you create a script which takes those arguments, write them > in a file, open your maxapp, and ask your maxapp to look at that file. > > Best, > ej > > > >