Page 1 of 1

Hide Current layer

Posted: 21 Aug 2011, 08:12
by NickA
Is there a way to set a keyboard shortcut to toggle the current layers visibility?
I would find this very useful and time saving (rather than needing to click on the layer visibiliy toggle on the timeline). :D

Re: Hide Current layer

Posted: 21 Aug 2011, 22:59
by ZigOtto
NickA wrote:Is there a way to set a keyboard shortcut to toggle the current layers visibility?
what do you mean exactly by "the current layers visibility" ...?
if it's the [H] button, to toggle "view All" / "view Current Layer only" , ... or the Red/Green square on each layer ?
in the second hypothese, I think it will require a little script, to be embeded in a custom button, then assigned to a shortkey ...
not easy for a lambda user ... so yes, an assignable (Current)Layer: Toggle Visibility command would be welcome. :)

Re: Hide Current layer

Posted: 22 Aug 2011, 06:49
by malcooning
I think it's possible via George, no?

Re: Hide Current layer

Posted: 22 Aug 2011, 12:58
by Svengali
If you want to be able to toggle the visibility of the current layer, Create a new button and embed the following George script:

tv_LayerDisplay
LayerState = result
IF CMP(LayerState, "On")
tv_LayerDisplay State "Off"
ELSE
tv_LayerDisplay State "On"
END

Name the button, then assign it to a shortcut key like any other custom button.


Sven

Re: Hide Current layer

Posted: 22 Aug 2011, 14:35
by malcooning
Ha! Sven to the rescue!

Re: Hide Current layer

Posted: 23 Aug 2011, 01:07
by ZigOtto
that's it ! 8)

Re: Hide Current layer

Posted: 23 Aug 2011, 08:16
by malcooning
Made this into a button and posted it in the Content Sharing
Credit goes to Sven.