Isolation mode ? Sub-layers(styles) ?

 From:  Samuel Zeller
3415.5 In reply to 3415.4 
> Set up the following script on a keyboard shortcut to do that

Thanks it work great, but could it be a "toggle" ?

You press the shortcut, everything is hided but not the piece
Then you work on the piece and when you are done you press that shortcut again
And everything gets back to its original state

Because now I need to click "hide" button but that also make invisible styles visible
And then I need to get some the styles back to invisible by hand

If its not possible to make a "toggle" script, I could use a reverse script with another shortcut

Thanks for your time :)