Hello

Hello,

it’s my first message here! I bought LL some months ago, however I started tu “study” it only the last one. 

This week alone was enough to understand I can really do exactly what I want with my home page, so I’m ver happy I didn’t make a “wrong” buy 😀

Reading posts in this community I’ve understood for now I need help of third party apps to do everything, like Tasker or Zooper Widget or KLWP, so for know I won’t ask for new features, but I’ll wait what Pierre will decide even if the idea to have an “only Lightning Launcher” home was intriguing. 

Before my first two requests, I would like to say that I know how to program so I was able to understand scripts and general logic, but I never worked with javascript (but it’s quite easy for me), and mainly with graphics.

For this reason I started to adapt what the community in general already made, and I’m happy I was able to build a first “skeleton”.

After done this, I’ve the following two requests I wasn’t able to read about in the community.

1) Is it possible to use ZWUtilities variables directly in LL? Main idea is to change panel background or icon colors according to schemes already done with ZWUtilities, so without creating and using a Zooper Widget.

2) Is it possible to create via script a slidebar similar to the “old” Touch3d UI? Here is a link:

https://www.youtube.com/watch?v=dZKCVxp00HQ

As you can see, we would need a panel/folder, and every element will be a shortcut to other panels/folders. When sliding over it we would have to dim background and show title/icon of corresponding folder, “underlining” the correct button, while directly clicking on an icon would bring us the right folder. I think video is enough clear.

My dream would be to have many 1×1 widgets on the so-called “main dock panel” so we can have like dynamic icons. I hope using widgets instead of normal “elements” (apps or shortcuts) don’t give too much further problems.

Thanks for your attention. 

https://www.youtube.com/watch?v=dZKCVxp00HQ
]]>

22 Commentsto Hello

  1. Anonymous says:

    < ![CDATA[

    Be careful with widgets. They eat up ram and battery much faster than other items do.



    To 2): In my time here I learned: Every animation is possible, and there might even be someone here who knows how 😀

    ]]>

  2. Anonymous says:

    < ![CDATA[

    I agree about widgets, and I think this is why many people asks for more features integrated inside LL, at least via scripting. Because who’ll use that advanced features guesses he can have the maximum control, so trying to minimize the problems you said…



    However it’s a compromise, if you want dynamic information you have to use widgets.



    About 2) I think it’s really possible, reading I’ve seen TrianguloY already use a script where background is dimming and tab font become bigger when on the right page, I think that script could be adapted.


    I already used it but only for “hamburger menu changing in a arrow” part.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    True about widgets, I have no widgets in my scenes eather. I try not to use widgets, (only battery Java widget) thats why it would be cool to use my Tasker project for this also.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    For example I installed the fantastic “Companion” theme by Lutz Linke  (I believe) however I can’t use it because I own a Galaxy Tab S 8.4 and widgets use too much RAM, topic already discussed here…

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Francesco D’Agostino same issue here with HTC Sensation. LL crashes when trying. Thats why I like the idea of Jappie Toutenhoofd​ to make more ‘Java widgets’ that can do stuff that need more permissions like internet permission (weather widget) or something with reading and display agenda items. All in Java and all in lightning launcher.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    2 short responses:


    LL-JavaScript-widgets do also use memory and battery.



    Funny: the video shows the HTC(!)-Touch3D and Evelien Wijbenga had that by default on her Sensantion. (if I remember it right, or is Touch3D even older.)

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Jappie Toutenhoofd LL-Javascript-widgets can use a lot less stuff than regular widgets if coded correctly, because a script can know the launchers state (active, position, …) while a widget provider can’t.

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Thanks guys, however while waiting for someone taking the challenge to realize the Touchflo3d sidebar, anyone has some tip to re-use the ZWUtilities variables?


    At least, is it possible to use scripting to implement some toggling (Wifi, Bluetooth etc.) or to read some system info still not inside dynamic text?

    ]]>

  9. Anonymous says:

    < ![CDATA[

    About “LL Javascript widgets”, I see a lot of advantages for skinners too. I’m seeing wonderful jobs done in KLWP, and they are mostly possible because the program integrates a lot of things in itself, even music controls, so the skinners don’t have to use different third party widgets/apps to give a coherent look.

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Hi, I saw Arun kumar​ using zooper vars in KLWP with a string. I thought maybe that it would be possible if you have that kind or other kind of string in a java script.


    https://plus.google.com/+arunkumar5592/posts/1Aj1S8PzGx8


    (Noob speaking, so forgive me if it cant be done like this)

    ]]>

  11. Anonymous says:

    < ![CDATA[

    Thanks Evelien Wijbenga , I already seen this, but this is possible because KLWP itself permits it. I’m afraid Pierre Hébert would have to implement something like the tasker “hook”, and I hope, but I don’t know, if it’s possible.



    For many reasons KLWP is more powerful than Lightning Launcher regarding theming and ability to don’t rely on third party apps/widget, you can build even music interfaces, live maps and more.


    But I’ve understand is a precise Pierre’s choice to don’t extend LL permissions, except maybe for “experienced” users.


     


    Finally, KLWP has a big defect for me. I absolutely love Muzei, so I can’t use both together being them live wallpapers.


    However I’ve my solution in mind, if my machine will be able to support it 😀


    LL with a normal desktop completely built by me according my own tastes, and with a second desktop to which apply some KLWP theme 😉

    ]]>

  12. Anonymous says:

    < ![CDATA[

    Francesco D’Agostino​ one suggestion regarding your first point. I see you have come across my app Kolorette. I have tried to do something similar. Make lightning launcher items (not widgets) have matching colors based on wallpaper. I was able to do this this by scripting. The main part is getting the color to LL.. After that it is easy to color items.


    But you can’t use ZWUtilities coz it always targets Zooper reciever. In the coming weeks I will try to bundle ll integration with kolorette. Let’s see how it goes.

    ]]>

  13. Anonymous says:

    < ![CDATA[

    Francesco D’Agostino this is right, one of the Lightning Launcher caveats is the lack of builtin hooks to the “external world”. Technically this is possible to do, but way too complex. This is a do it yourself from A to Z, you need to be more than experienced, you need to be a developer, lol! I’d like to address this issue in particular, but it will take a lot of time for sure.

    ]]>

  14. Anonymous says:

    < ![CDATA[

    Pierre Hébert you’ve already done a fantastic work, there is no other launcher giving all the personalization we can find in Lightning.


    I think that more than implement everything inside the best would be to give us “experienced users” the chance to write always more powerful scripts.


    I’m following what’s happening with customView and I’ve seen the permission apk links you gave in the other G+ group and I think this could be the right way.


    You give the minimal instruments, after that there will be who’ll write beautiful animations, who’ll write “webapps”, who’ll integrates with tasker, who’ll implement toggle switching and so on…



    Just for example, coming back to my example, I don’t think it’s so difficult to write a script doing what ZWUtilities do, that is mainly choosing a color combination and using it on the other LL elements.


    I’ll continue to study and experiment, keep up the good work! 

    ]]>

  15. Anonymous says:

    < ![CDATA[

    Arun kumar could please tell me something about your script? In past days I’ve seen one about icons (I think by TrianguloY ), that is applied a material effect using the average color of icons (elements) but I’ve still seen nothing about average wallpaper (or live wallpaper) color 

    ]]>

  16. Anonymous says:

    < ![CDATA[

    I extract color from wallpaper in my app. And via intent I ask llx to run this script which gets the color and applies color to all folders present in desktop.



    var items = LL.getCurrentDesktop().getItems();



    for (var idx = items.getLength() – 1; idx >= 0; idx – = 1) {


        var item = items.getAt(idx);


        var e = item.getProperties().edit();


        if (item.getType() == “Folder”) {


            var image = LL.createImage(200, 200);


            var c = image.draw()


            c.drawColor(LL.getEvent().getData());


            image.update();


            item.setWindowBackground(image);


            e.commit();


        }


    }

    ]]>

  17. Anonymous says:

    < ![CDATA[

    Arun kumar correct googles autoformat pls.

    ]]>

  18. Anonymous says:

    < ![CDATA[

    Better?

    ]]>

  19. Anonymous says:

    < ![CDATA[

    Well, now the “-” are missing

    ]]>

  20. Anonymous says:

    < ![CDATA[

    Any idea how to avoid that? escape sequences? sorry first time posting code

    ]]>

  21. Anonymous says:

    < ![CDATA[

    Arun kumar​​ spaces prevent google syntax



    bad


    – good -

    ]]>

  22. Anonymous says:

    < ![CDATA[

    Thanks. I think it is fixed.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *