Scripting the "zoom to layers bounds" feature...
It's not a well-known feature, but alt-clicking on a layer in the layers panel will actually zoom the document to the bounds of this particular layer.
I am now trying to implement something similar... ScriptListenner isn't returning anything, so I'm kinda lost...
I'm guessing I'd have to get the actual layers bounds...but where do I go from there ?
Any thoughts ? thanks.