Re: Enable [key] only in locked patchers?


Forums > MaxMSP > Enable [key] only in locked patchers?
Sep 28 2010 | 5:34 pm

here’s some javascript that allows bangs to be passed through only when the patcher is locked:

function bang() {
    if (this.patcher.locked) {
        outlet(0, "bang");
    }
}

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required