Hello lightning!
Hello lightning! I would like to close all other open folders when a folder is pressed except one other. Is this possible?
Hello lightning! I would like to close all other open folders when a folder is pressed except one other. Is this possible?
Either using the “Close other folders” option in the desktop settings (under Extra folder options), or with a script using LL.getOpenFolders(): iterate over the folders and call close() except for items with a specific id.
Thanks Pierre. Close other folders closes the one I don’t want to close too. I’m sorry but I’m very new to JavaScript, would it be possible for you to tell me how to assign IDs to folders?
If it’s not too much trouble or too long would you mind giving me an example of the script?
Okay, i figured it out! thanks so much for the help