I used the same script since long time ago and noticed that it has it own way of resizing the pop-up window. I also use another script for a quick selection of an object material colour, which also has its own setting for the size and position of the pop-up window. Kind of annoying. It worked blazingly fast in Rhino 6, but has a slight delay in Rhino 7 (just like the normal colour picker, because the newly introduced HSV wheel is somewhat heavy on the hardware).
! -_Runscript (
’ Script written by Guilherme C. Webster, Jan/2005
’ Designed to quicly change the render/material color of any objects in Rhinoceros 3D
Dim arrObj, strObj
arrObj = Rhino.GetObjects ("Select objects to change material color", 0 , True, True, True)
If Not IsNull(arrObj) Then
lngColor = Rhino.GetColor
If Not IsNull (lngColor) Then
Rhino.command ("-_properties m o r c 0,0,0 enter enter")
Rhino.ObjectMaterialSource arrObj, 1
For Each strObj In arrObj
intIndex = Rhino.ObjectMaterialIndex(strObj)
Rhino.MaterialColor intIndex, lngColor
Rhino.print "Material color changed sucessfully."