switch on multiple Vray lights

A Question for the coders:

I would like to switch on a couple of Vray lights at once.
If i select them i can see them in the LightLister, but in this scene i have really lots of lights…

My wish would be - select them and push a button to switch all of them on or off.

i think this is a easy one for somebody with coding skills…

How about, put them on different layers. Untick “hidden lights” in render setup and hide/unhide the layers instead of switching on and off

Not a bad idea - one ON and one OFF Layer will do it!
Thanks!