I use this script in my Rhino 7. It works with pre-selecting, exactly as you wish. It also lets you select multiple objects with different names and it will select all other objects with the same names.
SelSameName.rar (441 Bytes)
You may need to unblock the *.py file in case that it’s locked. Right-click to open the Properties and check if there is a tickbox on “Unblock”:
Then put it this way inside an icon, where you replace “Your directory” with the actual path of your hard drive:
_-RunPythonScript "Your directory\SelSameName.py"
In my case it looks like this, and I set it as a right-click to the existing “SelName” icon:
_-RunPythonScript "D:\PROGRAMI\Rhinoceros 6\scripts\Select by same name\SelSameName.py"
Tooltip:
Select objects with same name
The script was also mentioned in a few other topics. We have to thank @Helvetosaur for this great script!

