start process with commandline arguments

Charly Beck's icon

Hi,

is there a max object to start a shell process with commandline arguments?

Maybe even read/write from stdio? (That is not mandatory but would be nice)

Or can this be done using javascript inside max?

Background:
I wanna use graphwiz to create some graph view images to include in the gui. I would like to make the generated graph images react on clicks. (This should be easily to achieve using imagemap which is supported by max and i hope max and graphwiz share the same imagemap definition ;)

Other things which could be usefull: a) a xml dom library b) a xslt transform c) support for max objects interacting with the html site viewed in max' webbrowser. (call javascript functions, read and modify html elements etc)

I'd like to avoid going to c and writing a max object for this. But maybe someone can forward me to a hello-world-max-object written in c?

Any tips or thoughts welcome! Thanks!

pdelges's icon

Are you looking for shell?
Check this thread.

Charly Beck's icon

Thanks. Exactly this was what i've been looking for.

However, i found my design now and i think i will write a max object in c# so i can use the .net api with the Process.Start method. It will be some effort to pass the data from max' custom c implementation into c# but i think it will be much easier to implement all i wanna do in c#.