Loading a bpatcher from JS / PATH problem


    Dec 21 2011 | 4:50 pm
    Hi there, designing a max for live device, I want to use my JS code to dynamically load/remove bpatchers.
    I need to have the path of *.maxpat loaded in those bpatchers.
    if I make a collective, could this dynamical load work? (I guess if it works as non collective, it works as collective) How could I find the path in both way (collective or not) ?
    The real question is: how, in a max for live device case, should I do to find the path of the main patcher inside JS ?