One question again for the use of LL.
One question again for the use of LL.
I want to make something like Panel hiding somewhere, with some Icons and only make it appear if I swipe over an Icon in the Dock.
I read about floating desktops somewhere. Is there any Tutorial you can recommend with this? Or something about the Usage from Panels?
I cannot get something like that to work even with trying a few hours and since there isn’t much help on Google in Regards of Lightning Launcher, I thought to ask here.
Any help would be gladly appreciated.
]]>
< ![CDATA[
Floating desktop is the feature that allows you to display a desktop on top of any running app, probably not what you want.
What about using a side bar? (Which is a folder placed at a side)
To open it with a slide use the action ‘open folder’
If you still want to use a panel you can make it with scripts or bindings, although that requires more setup
]]>
< ![CDATA[
Or you can use a script toggling a binding
When off nothing displayed when on all icons of your dock displayed 🙂
]]>
< ![CDATA[
Something like that
https://lh3.googleusercontent.com/yw0wytp7_OS8OPWdkzbmpmBILfNcBKtZPTDtEoQ90mLQS96Kd_KG_CyXtvnmIi6olBL0pw4aoFA
]]>
< ![CDATA[
Then slide to the right calling the toggle script
https://lh3.googleusercontent.com/JPx6HCE5FyirH3kr2KzVra1m8sP16Fxr1Y61hCbj4uxM9DF7kDTHcWAM3QULdy_6tzIMr8nQNcU
]]>
< ![CDATA[
TrianguloY Thank you for explaining with the floating desktop. The sidebars I already tried and had this for a while but were not happy with it.
Bruno-Isa LAMOUR-ARNOULD That looks awesome. How you got this script working? There any Tutorial were at least the basics were explained? I can read basic Javascript, but don’t think would be enough for writing a complicated script like that completly free. Or is there a basic script I could modify?
]]>
< ![CDATA[
Param=LL.getEvent().getData();
/* toggle Param*/
var valeur= LL.getVariables().getFloat(Param)
if(valeur== 1){
/* set 0 */
LL.getVariables().edit().setFloat(Param,”0″).commit();}
else {
/* set 1 */
LL.getVariables().edit().setFloat(Param,”1″).commit();}
]]>
< ![CDATA[
http://LL.getEvent
]]>
< ![CDATA[
https://lh3.googleusercontent.com/bt3xDzJSeXlpyMWi5z_lGR1K9chrT0XPSFjAWWanov-dDGZ6Yslt_WNARr9xhMv_5J8LmRSs_3k
]]>
< ![CDATA[
My param is the name of the bindings. So the script is for any of mines.
No need to change here
]]>
< ![CDATA[
If value = 0 it’s off
If value = 1 it’s on
I set on icon in bindings part as visible with the param name (here Dockvisible)
]]>
< ![CDATA[
And script set as Events in Desktop settings
Swipe right : run a script
I set toggleVar (my script name) and data as Dockvisible
]]>
< ![CDATA[
Bruno-Isa LAMOUR-ARNOULD I tried to add your script a few times, but I am just keep failing all the time. What exactly do I need to write in bindings? I choose the visibility and added that param there, but the icons just gets invisible and even running this script won’t change anything….
]]>
< ![CDATA[
Severus M be sure the value is 1
And icons must be visible
]]>
< ![CDATA[
Bruno-Isa LAMOUR-ARNOULD When I set it to param = 1 it stays visible, so thats a bit better, but running the script still brings no change. So I seem to do something wrong.
https://lh3.googleusercontent.com/nXvR7rQ7MYtXn3l_KROcJhnFmlxp05Q6uMiAJ13FuMfGjLp8So-IxVClC28a9j2mT-1c8SuuSQ
]]>
< ![CDATA[
https://lh3.googleusercontent.com/R0Y1zPVpqaPRgRpfIrH3dDbqpx1lts6t4zsIXHuPhpUxVSUFQHigHetJezXBm-AFRE1IYE5fQA
]]>
< ![CDATA[
Yes something missing
Tick Script data
And when calling it add param as script data
]]>
< ![CDATA[
Confusing is your script is named param and param is the name of your paramètre. But no issue
]]>
< ![CDATA[
Ah yes. I thought the script name was the issue before thats why I changed it to param itself. Keep trying everything right now.
]]>
< ![CDATA[
I added the script data now and added param, but seems something other is wrong…
https://lh3.googleusercontent.com/nXpzeMRMdTOeGnVSs5IUto3EmVvB2YovgxHQ-mJl5BUwyx-G5zPQ2SrTRVbkZuOTM70KpTTXJA
]]>
< ![CDATA[
Sounds OK
Please post a screenshot of the script please
]]>
< ![CDATA[
And rename your script
]]>
< ![CDATA[
Sorry I have to go now. Perhaps Hangouts session tomorrow ?
]]>
< ![CDATA[
Bruno-Isa LAMOUR-ARNOULD Sure. Will be back online around the same time as today, maybe a little earlier. Around 6 pm cet. Thanks for your help so far.
https://lh3.googleusercontent.com/qYHfNCx-SP-PxUbKkdc4flt0do90H3Ia8U_9_EgFlN_9L5e3c9Mdh7FJO9TiSbSJNoNzTqev0Q
]]>
< ![CDATA[
https://lh3.googleusercontent.com/boCUEKOyfAUsa1TwizlEWqj_3l5hMh3fP5ghv9ypiotZGdH3EmR7yFK3TyuR4T34Fgy9fEF4Ow
]]>
< ![CDATA[
I think the variable named param is not created.
Could you create it first using a gesture associated with create a variable
]]>
< ![CDATA[
I noticed a mistake on bindings.
You have to set only param and not param = 1
]]>
< ![CDATA[
I created the variable now, with an action but still not working. Bindings setting already changed before.
https://lh3.googleusercontent.com/FWrDioPjWsfzFw9SVyROhfVKANMsDQp6ZWsWZC0TicUgYHkesRCWfaP68UTagDJGJHrwMJ9Dtg
]]>
< ![CDATA[
https://lh3.googleusercontent.com/pLmZqQLI6AXnjYLMvWye04YoQ5ACkau0258OUaX58IuJjSiAFQ5_Wos6FDWuY2cEINDSTByPjQ
]]>
< ![CDATA[
Bindings is not correct.
Set only $param
]]>
< ![CDATA[
https://lh3.googleusercontent.com/Zp8M6jJY1GqeLL3se8dlXyxylM0VdYvvzzzv4rfMEm5YQXddjjxzeNaVRhRfr-DfdOYkTgSw5L4
]]>
< ![CDATA[
Bruno-Isa LAMOUR-ARNOULD Thank you so much. Now it works really good.
]]>
< ![CDATA[
Severus M happy to hear
]]>