Max ToolBox doesn't work with "Show on Patcher Parent Tab" switched on

    Dec 18 2012 | 10:52 am
    Hi all,
    This is mostly just a heads up.
    The awesome keyboard patching shortcuts of Max ToolBox by Nathanaël Lécaudé don't work with the "Show on Patcher Parent Tab" option switched on.
    I'm sure many of you would have come across this already. I'm wondering if anyone knows how to modify the maxtoolbox.js to circumvent this issue?
    To reproduce: (prerequisites = install Max Toolbox (
    1) create new patcher 2) create a subpatch 3) open patcher inspector for subpatch 4) turn on option "Show on Parent Patcher Tab" 5) click on tab to show newly created subpatch 6) create objects to connect together 6.5) highlight objects to connect together 7) apply any of the keyboard shortcuts or scripting features for connecting objects together via Max ToolBox
    Max window returns: "js | Max Toolbox : No objects are selected, please select something and try again."
    If you uncheck the "Show on Parent Patcher Tab" option and open the subpatch in a new window, the Max ToolBox keyboard shortcuts work as they always have.
    Max 6.0.8 Max ToolBox version 14 Mac OSX 10.7.4

    • Dec 18 2012 | 8:48 pm
      Hey, i can totally reproduce that - incidentally, the toolbox doesn't work with any of the built-in help patchers. But, you should probably tell this to Nathanaël Lécaudé himself, i don't see c74 having any power in correcting this.
    • Feb 16 2013 | 1:23 am
      Hi, Maxtoolbox author here... Actually this is not an easy fix. The Toolbox uses the frontpatcher property to detect what patcher to work on, and when a tab is open the frontpatcher refers to the main patch, not the tab... There's sadly not much I can do now but I will continue checking....
    • Feb 16 2013 | 4:26 am
      That's probably also why Toolbox (which does completely rock, thanks Nat!) doesn't work in a patcher that's been opened with modify read-only. Nice to know why, though!
    • Feb 16 2013 | 12:32 pm
      Thank you Nat for getting back.
    • Feb 18 2013 | 5:03 pm
      mattyo: can you describe the problem more in detail ? I can't seem to reproduce here... opening a patcher in modify read only seems to work with the toolbox on my side. Thanks.
    • Feb 18 2013 | 9:31 pm
      I did some testing today and basically a lot of Javascript functions are broken when using views or tabs... Specifically I don't have access to the selected state of the object when using views or tabs which the toolbox needs. I reported the bug to Cycling, let's hope it gets fixed eventually.
    • Feb 17 2017 | 4:26 am
      Thanks for the incredible tool, Nat! I would love to see Cycling 74 fix the tabs javascript bugs and get this functionality as any bpatchers with presets need to be embedded in their parent in order to remember their stored presets upon saving and reopening. Bump :)