command-line args for standalones?
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.
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
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!
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
>
>
>
>