Turning layouts on and off from a script
I have several versions of a data sheet layout. Some are specific to certain users, some to fix an issue with windows and mac requiring slightly different layouts when saving a document as pdf. I would rather not have ten versions of that sheet in the layout menu tab. Is there a way I can show or hide the layouts I want/don't want from within a script?