Archives

now browsing by author

 

hi there

hi there,

I’m trying to create a script who can open/close a folder from within KLWP (Kustom Live Wallpaper).

I found the solution for the script:

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

folder.launch();

When I put that on a item/shortcut in LL, it works perfectly.

When I run it from an item in KLWP, it only opens the folder.

And when the folder is open, it jumps to the closed position and reopens the folder.

I have no clue what I need to change or if it is a limitation between LL and KLWP?

thanks.