Hi Pascal,
Thanks for taking a look at this, and please donāt judge me for mixing bits and pieces of stuff, Iām trying to get by without learning how to code 
What these chunks do, like in many of my other tools is trying to make my life simpler. Iāll explain.
For you guys at Rhino having to think if you need to preselect something or not and then deciding to run certain command or macro based on that decision itās just too much friction and attention taken away from what I do: design stuff in Rhino. I much rather prefer the Photoshop, Sketchbook Pro, Modo approach.
Iām going to run a toolā¦
I I have nothing selected I mean run it to everything you see.
I I want to be specific and discretionary to which object/s / pixels should this tool run, then I will pre-select it.
In Summary I want to just Run a single command: NameFromLayers. And based on having preselection or not the script will be smart enough to run it to all visible/pickable objects, or just to what I preselected.
Any change we can bake that into the script?
BTW, I think it would be great if you guys consider this āPreselection vs. Allā a global setting or preference for Rhino. It would save us thousands of clicks a month.
Example of a simple file with just 3 objects. Tool being used: move.
Current Rhino selection approach:
_Move (click 1)
"select objects to move"
drag marquee around my 3 objects (clicks 2 and 3)
āselect objects to move. Press Enter when doneā
_Enter (click 4)
āPoint to move fromā (click 5)
āpoint to move toā (click 6)
Preselection vs. All approach:
_Move (click 1)
āPoint to move fromā (click 2)
āpoint to move toā (click 3)
So Rhino is taking 200% the clicks that it should for any global operation. By global I mean anything that applies to all pickable objects in a viewport. You should maybe consider how often people work on single layer/ isolated modes where the edits being made apply to all pickable objects. Of course I have not really thought through all the negative implications of this preference/approach. But I can tell you I have been working like this on other apps and it seems very natural. Less clicky, less friction.
Thanks!
G