--Maxscript-mass light selection tool macroscript Lightswitch category:"FATALTOOLS" toolTip:"lightswitch" --by artists for artists --ingmar@argonaut.com --www.visualcodex.com --works only on light selections --any other type of selection will give errors ( rollout lightswitch_rollout "lightswitch" ( button select_all "all" on select_all pressed do ( select $lights deselect $'*.Target' )--end all button light_on "on" on light_on pressed do ( deselect $'*.Target' $.enabled = on )--end on button light_off "off" on light_off pressed do ( deselect $'*.Target' $.enabled = off )--end off )--end follout createDialog lightswitch_rollout 50 90 )