I've created a simple extension that enumerates the layers in a document and saves the current display state (visible/hidden) of each layer.
At the very least, I would like a way to populate the window with information about the document when or before the extension window is displayed. Is there a way to do this?
Brian