Hello, TrianguloY

Hello, TrianguloY

How can I open two folders at once with a script? I know it was already posted here, but i cant find it 🙁

Thanks

]]>

4 Commentsto Hello, TrianguloY

  1. Anonymous says:

    < ![CDATA[

    I am not TrianguloY but here is a way to do it:


    var d = LL.getCurrentDesktop();


    d.getItemByName(‘a’).launch();


    d.getItemByName(‘b’).launch();

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Thanks, Pierre Hébert it works, but one folder stays open when i press the back button.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Because you didn’t specify that 😉



    You need to check when a folder closes to close the other. The best way is this script in the pause event of both folders [not tested]



    if(!LL.getEvent().getContainer().getOpener().isOpen()){


    var d = LL.getCurrentDesktop();


    d.getItemByName(‘a’).close();


    d.getItemByName(‘b’).close();


    }

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Thanks, TrianguloY it doesnt work. I give up. Maybe I should be satisfied with my actual design .

    ]]>

Leave a Reply

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