Using "selectby color" and color books

Hi,

following that Wiki link I am trying to make action string selecting all elements with the same color from color book.

Syntax for RGB/color books in keyin might be found there. As for active color, co=standard:goldenrod works well, I have tried to use the same syntax in keyin script:

mdl load selectby
selectby color on
selectby color standard:goldenrod
selectby execute
mdl unload selectby

But it seems not to work well. It's selecting some elements with unclear algoritm (you get the same result putting random string instead of standard:goldenrod).

Using color numbers (0...255) works OK in above script.

How to use names from color books in that kind of scripts?

Regards, Wojtek

Microstation Connect U12.