ask
ask .. how do I add a shortcut open and hide panels in lightning launcher, like hide and seek in the themes have lutz linke ?? sorry my bad english ..
ask .. how do I add a shortcut open and hide panels in lightning launcher, like hide and seek in the themes have lutz linke ?? sorry my bad english ..
You can do it by adding a “go to a desktop/position” just take care of what you pin or not 😉
Or you can use a short script like this:
var panel = LL.getCurrentDesktop().getItemByName(““);
panel.setVisibility(!panel.isVisible());
continues to open its panel using the command / action what sir pierre ??
Weco Rockers in facts this launcher supports javascript, so if you know how to write script, you can open/hide the panel with a script. Pierre gives you an example you can copy/paste on the script editor (think you need to enable “expert mode” in the Ll settings).
I am having trouble installing the script in panel sir ..
” at line 2 : referenceEror ” panel ” is not defined (test#2)
if pleased .. make me a tutorial installation script in the panel and how to add items to the shortcut open / hide panel
Did you set a name to the panel?
So enter edit mode, click the panel, long press to get personalise option (the 1st one), then +, and + again, set a name (eg panel1).
In the script you write the name where Pierre told you, with ” ” but no <> (respect the case, if you write panel1, don’t copy Panel 1).
Go back to your desktop, add a shortcut “do nothing”, edit mode, personalize, plus, plus, scroll down to press, run a script, and choose your script
thank you for the help sir stahw and sir pierre ..