Expand/collapse subcollections #357
cboulanger
started this conversation in
Ideas
Replies: 3 comments 10 replies
-
Beta Was this translation helpful? Give feedback.
6 replies
-
|
As the original answer is no longer visible (or not for me at least), here is the code again, which works well for me (Zotero 8.0.2-beta.4+2f7055e15 - I cannot say anything about the non-beta versions). if(item) return;
ZoteroPane = Zotero.getActiveZoteroPane();
Zotero.Libraries.getAll().forEach(lib =>
ZoteroPane.collectionsView.collapseLibrary(lib.libraryID)) |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Here is a script written with the help of Claude.ai to expand all subcollections: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone know the API for expanding and collapsing the subcollections of a collection in the collection pane and can provide an action script that would allow to toggle between "all subcollections fully expanded" and "all subcollections fully collapsed"? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions