Scripting Object Visibility?

 From:  shayno
11774.6 
Hi Michael
it works to hide the colour but not to unhide it if pressed again

cheers
shayne