<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    You're right, Albert. The documentation for this is thin. IIRC when
    I committed it to the git, I think I added the explanation. Below
    are extracted comments from the g_editor.c:<br>
    <br>
            /* FIRST OPTION: if two objects are selected and the one
    that is<br>
               originating is one of the selected objects try
    multi-connecting<br>
               all outlets into all inlets starting with the user-made
    one as<br>
               an offset */<br>
    <br>
            /* SECOND OPTION: if two or more objects are selected and
    the one<br>
               that is originating is not one of the selected, connect
    originating<br>
               to all selected objects' the outlets specified by the
    first<br>
               connection */<br>
    <br>
            /* THIRD OPTION: if two or more objects are selected and the
    one<br>
               that is receiving connection is one of the selected, and
    the<br>
               target object is selected, connect nth outlet (as
    specified by<br>
               the first connection) from all selected objects into the
    inlet<br>
               of the unselected one */<br>
    <br>
            /* FOURTH OPTION: if more than two objects are selected and
    both y1<br>
               and y2 are selected connect each originating object's
    outlet to<br>
               each of the outgoing objects' inlets until you run out of
    objects<br>
               or outlets. This one is tricky as there is no guarrantee
    that<br>
               objects will be selected in proper visual order, so we
    order the<br>
               selection from left to right and top to bottom to ensure
    proper<br>
               visual pairing. This option has two variants, A and B.<br>
               OPTION A VS B: we either connect outgoing to each of
    other objects<br>
               (A) or incoming to all other objects (B). We determine
    which one of<br>
               the two options is selected based on which condition will
    yield more<br>
               successful connections. */<br>
    <br>
    As for the paste script into canvas, you should be able to copy PD
    patch text (from the .pd file), focus onto a newly opened canvas you
    wish to patch into, and paste and doing so should automagically
    paste things into that patch and update canvas properties
    accordingly, including its size and position. I think there is a
    variant of that where if you paste into the existing canvas that has
    been already edited in which case canvas properties like size and
    location are ignored while there rest is pasted accordingly on top
    of the edited stuff. Pasting malformed text, however, can result in
    a crashtastic paste for which pd-l2ork will inform you in the
    console before crashing. Unfortunately, I haven't figured out yet an
    easy way how to salvage it at that point. HTH<br>
    <br>
    Best,<br>
    <br>
    Ico<br>
    <br>
    <div class="moz-cite-prefix">On 11/6/2016 6:45 PM, Albert Graef
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+rUic362k1cAzePEGSGBWJZbW5mKiQ0VJFWnqcb8skH-qLK_A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Ico, is there an explanation anywhere about how
            pd-l2ork's different intelligent patching modes work? A
            quick search in the help browser didn't turn up anything.<br>
            <br>
          </div>
          <div>Also, in the PdCon paper you mentioned something about
            "pasting script code snippets directly onto the canvas".
            Could you please elaborate a bit on that a bit as well?
            Sounds like this might be useful for Faust and Pure
            externals.<br>
          </div>
          <div><br>
          </div>
          TIA,<br>
        </div>
        Albert<br clear="all">
        <div>
          <div>
            <div><br>
              -- <br>
              <div class="gmail_signature">
                <div dir="ltr">Dr. Albert Gr"af<br>
                  Computer Music Research Group, JGU Mainz, Germany<br>
                  Email:  <a moz-do-not-send="true"
                    href="mailto:aggraef@gmail.com" target="_blank">aggraef@gmail.com</a><br>
                  WWW:    <a moz-do-not-send="true"
                    href="https://plus.google.com/+AlbertGraef"
                    target="_blank">https://plus.google.com/+AlbertGraef</a></div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
L2Ork-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a>
<a class="moz-txt-link-freetext" href="http://disis.music.vt.edu/listinfo/l2ork-dev">http://disis.music.vt.edu/listinfo/l2ork-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>