usability feature request
hello, I would like to request one additional function:
"when connecting a cable and holding a modifier key [CTRL], connect all
inputs and outputs the two objects from port connected, from left to
right, starting at port connection made. End the ‘automatic making of
connections’ when either object has exeded its number of ports."
To illustrate how this would work, please see my screen shots:
I don’t believe this feature has already been added.
Thank you for your time,
Quote: schedal wrote on Sun, 26 March 2006 09:44
> I don’t believe this feature has already been added.
it hasn’t been really implemented, but have you checked out max toolbox?
i recently started using it and it’s quite nice, you can hack it a bit to your own taste if you want, pretty impressive js stuff…
If I may add to my own request, it would also be extremely helpful if in
addition to the below functionality, one could also hold CTRL+SHIFT to
connect the selected port to all ports on second object [ie "one to many
automatic cabling"]; same logic: left to right, but only the destination
object’s target port moves left to right until it has no more ports left
to connect to the single connected source port. If this is not clear, I
will make a new jpg for us… just ask.
definitively check Max Toolbox. Don’t have the link in mind right
now, but you may find it in the recent threads archives. For sure it
provides a lot of such wiring options (one to many, many to one, row
to row, etc).
Fantastic! I’m so glad I mentioned this – sorry it already existed;
This tool box will shave weeks of my development time! THANKS!!!!
> This tool box will shave weeks of my development time! THANKS!!!!
Also if you are looking to connect multiple outlets of an object to multiple inlets of another object check the connect_single_to_single function in the JS code. It works but is not exposed to the user yet. It will in the next release.
Nat: on the subject of the very excellent Toolbox, a wee error in the .help patch – the row-to-single and single-to-row keystrokes are reversed, ie. W does single-to-row and S does row-to-single,
> This tool box will shave weeks of my development time!
Obviously inforazor would not want to let grow beards on Max patches -;)
   
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09
> the row-to-single and single-to-row keystrokes are reversed, ie. W does single-to-row and S does row-to-single
Thanks for noting Roger, I thought this was fixed in the latest version (b7) do you have this version or an earlier one ?
The latest (b7)
> example1: "press ‘C’ three times to connect all 3 outlets to all 3
inlets of all objects in a cascade."
Thanks for the comments, due to some limitations in the scripting API (I don’t have access to the number of inlets and outlets an object has and wether it’s connected or not) some connection scenarios are more tricky than others. Please have a look at this thread for the single to single function :
If it doesn’t work just mail me and we’ll continue in french,
Hi Nathan! Thanks for the help finding the code.
Maybe I am a bit of a brute, but for now I just hacked and hard coded a
new shortcut key in 5 min to make 128 connections single-to-single in
one go, works brilliantly – and the next step is to just suppress the
expected error output so my max monitoring window can chill out. It
works just fine, connects all the ports it can and then gives up. So
with just 1 key press I can do it now, youpie! Another key press could
be mapped to reverse [the AR4 parameter 0 1 field]
Using this brutish ‘suppress errors’ method, it should be possible to
bypass the need to know how many ports an object has and achieve your
more complicated connection scenarios with just a few simple key presses
and minor code changes, example: user presses C twice to connect ports 1
and 2 in cascade: js simply "tries" to connect ports 2 to 2 if a user
presses C twice – if it doesn’t have 2 ports, then sure, it would make
an error [i presume the js can do an error check as an indirect method
of determining whether a conn is possible?]; but thats ok – if the shoe
I’m sure many of the purist coders will be aghast at me accepting code
that works by outputting errors…
I’m glad it works for you !
The main problem is that there is no simple way to avoid error messages. You can print a bunch of blank lines to "clean" the window but it’s not very convenient…
The next version of the toolbox will have a simple mechanism where before connecting you specify how many connections you want to make using the keyboard, in the same way you now specify which outlet or inlet to connect.