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
]]>
< ![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();
]]>
< ![CDATA[
Thanks, Pierre Hébert it works, but one folder stays open when i press the back button.
]]>
< ![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();
}
]]>
< ![CDATA[
Thanks, TrianguloY it doesnt work. I give up. Maybe I should be satisfied with my actual design .
]]>