Can we get a shortcut action to close a specific folder by name?

Can we get a shortcut action to close a specific folder by name? Like in addition to close all and close topmost? I think that would help streamline tasker integration and allow for finer control in general…

Hey, thanks for your time and such an amazing home!

2 Commentsto Can we get a shortcut action to close a specific folder by name?

  1. There’s the “Open folder” action which, in spite of its name, will close the folder if it is already open. Maybe it can fill your need.

    Otherwise if you need more granularity, use a script like this one:

    var folder = getEvent().getScreen().getCurrentDesktop().getItemByName(‘your_folder_name’);

    folder.close();

    (Assuming the folder your_folder_name is in your current desktop)

  2. Andrew Davis says:

    Oh. I didn’t realize that was a part of its functionality. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *