MaxSystem.isStandalone() doesn’t work for me.
It always return false, in a standalone, in max runtime or in max.
The documentation says there should be a MaxSystem.isRuntime() function and compiler disagrees.
Which version of Max are you using? You need 5.0.6 or higher to use MaxSystem.isRuntime().
I’m using MaxMSP 5.0.7
Mac OS or Windows?
Mac Os 10.5.8
That’s odd. Make sure that you compile against the latest max.jar. What I did was:
– create an object "mxj quickie toto"
– double click on it
– modify the bang method:
public void bang()
– made an object "mxj toto" and connected a numbox to the left outlet
– sent a bang to "mxj toto" it reported 0.
And sorry, I made a confusion between two eclipse project, one with max.jar from max4.6, the other with the one from max5.
So everything’s fine with MaxSystem.isRuntime().
But MaxSystem.isStandAlone() always returns false for me.
My life doesn’t depend on it but if you have time to check…
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.