Scrolling the timeline view
Posted: Thu Jan 05, 2017 11:09 am
Bit of an odd request, but I've put together a script that can toggle through the layers with timeline visibility turned on. Effectively a handy shortcut for switching between the layers visible on your timeline.
One drawback is that it might select a layer that you don't see in your timeline view, because the timeline is scrolled to some other view. Is there any way that I can programmatically get the timeline window to scroll to the position of the newly selected timeline?
I believe that this relies upon having both a function that allows me to scroll the timeline window and some method to detect the position of the layer's timeline in that window. Any help with either would be great.
One drawback is that it might select a layer that you don't see in your timeline view, because the timeline is scrolled to some other view. Is there any way that I can programmatically get the timeline window to scroll to the position of the newly selected timeline?
I believe that this relies upon having both a function that allows me to scroll the timeline window and some method to detect the position of the layer's timeline in that window. Any help with either would be great.