global proc guiTest() { window -title "Test II - The Return"; string $lights[] = `ls -lt`; columnLayout; string $attr; for($lyset in $lights) { $attr=$lyset+".intensity"; attrFieldSliderGrp -label $lyset -min 0.0 -max 10.0 -at $attr; } showWindow; }