Ashwin Royan

now browsing by tag

 
 

Hey guys.

Hey guys. Is it possible to make a script that will open a folder and hide the status bar on a desktop while said folder is open?

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 guys.

Hello guys. I have very simple(I hope) problem. I recently started self learning JavaScript. I’m trying to write a simple script for my phone launcher (lightning).

I have a main folder and subfolders within it on my desktop. I’m trying to get my script to close other subfolders that are open when I press a subfolder but not close the main folder. This is what I have so far –

var fr = LL.getEvent().getContainer(); var sib = fr.getItemByLabel(“sb”); var f=LL.getOpenFolders(),fll=f.getLength(); if(fll>0) for(var i=0;i

sb is the name of my main folder, I don’t know how to define the current folder I am pressing or remove them both from the last function.

Thanks