How to close the current folder by script ? TrianguloY​

How to close the current folder by script ? TrianguloY​

]]>

5 Commentsto How to close the current folder by script ? TrianguloY​

  1. Anonymous says:

    < ![CDATA[

    Dunno about the current one but I use this to close em all.



    var folders = LL.getOpenFolders();



    for (var i = 0; i < folders.length; i++){



    folders.getAt(i).close();


    }

    ]]>

  2. Anonymous says:

    < ![CDATA[

    If with current folder you mean the last opened one, LL.getOpenFolders().getAt(0).close() should work

    ]]>

  3. Anonymous says:

    < ![CDATA[

    TrianguloY working perfect. Thx

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Note that this might throw an exception if there are no open folders.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Lukas Morawietz no issue I’m calling it from an open folder

    ]]>

Leave a Reply

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