auto connect objects when deleting the one in between? or empty object?

    Jun 28 2013 | 2:26 pm
    bang->delay 100->bang
    i wanna delete the delay without having to reconnect the two bangs together.
    can this be done? or maybe paste replace with an 'empty object' or something?
    otherwise i'm going to have to rewire more than 300 objects in about 100 sub patches..
    i'd like to know if there's an easier way to accomplish this...

    • Jun 28 2013 | 2:30 pm
      i could always paste replace all the delays with bangs, but then i'd have about 300 unnecessary bangs in my patch...
    • Jun 28 2013 | 2:42 pm
      i know . its not the coolest situation . you can do it with thispatcher . wait few minutes i will post you a little starter and description
    • Jun 28 2013 | 3:06 pm
    • Jun 28 2013 | 3:11 pm
      what it does :
      1 . thispatcher is searching for BUTTONS to assign scripting name to them (unfortunatelly the order in which uve created these objects is crucial in here , also if there will be additional BUTTON you will meet some problems ) .
      2 . thispatcher is searching for delays (previous creation order is crucial) and assign scripting name to them .
      3 . thispatcher deletes your delays . 4 . thispatcher connects your buttons
    • Jun 28 2013 | 5:09 pm
      You could use an empty subpatcher (ie. input connected to output) to paste replace the delays and then de-encapsulate where both can be done with key commands.
    • Jun 28 2013 | 6:02 pm
      You can do it with scripting, but in a lot of cases you just need to reconnect manually. there's no "delete object in chain and keep connections" option.
      Max Toolbox could help you a lot here. If your bangs are lined up, you can connect any number of them to those below it by selecting and using a single keystroke. voila!
    • Jun 28 2013 | 6:25 pm
      BROC's solution was spot on! thanks so much!
      i created a "p temp" sub patcher with an inlet and outlet inside which were connected.
      Then i used cmd-f to select all my delays at once, paste replaced those with "p temp" and then de-encapsulated them.
      hmm on second thought that only works for the delays in the main patch, i can't select all delays in sub patches at the same time, or can i?
    • Jun 28 2013 | 6:35 pm
      oh that toolbox is a really nice addition! thanks
    • Jun 28 2013 | 10:08 pm
      That was a cool idea from Broc as well...never thought of that!
    • Jun 28 2013 | 10:08 pm
      Selecting objects in subpatches? Probably only with javascript.
    • Jun 29 2013 | 2:46 pm
      That's a nice idea, I'll put it on the todo list for the Max ToolBox!
    • Jan 22 2014 | 8:57 pm
      I'll be taking a look at the Max Toolbox later today..
      I really wish blank objects were deleted if empty. Can't count the minutes wasted having to delete boxes I didn't need.