Re: Enable [key] only in locked patchers?


Forums > MaxMSP > Enable [key] only in locked patchers?
September 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");
    }
}

Share this page