Toggle only Hidden/Visible in App Drawer

Toggle only Hidden/Visible in App Drawer

As requested by Efren Rivera

Nothing is impossible with scripts!

This is a bit hackish, make a backup before try.

It has to restart the launcher to work, so it may “flash” shortly.

Pierre Hébert is there an easier way to toggle hidden/visible in the app drawer? Or to cause an update/reload on the app drawer files?

Script: http://www.pierrox.net/android/applications/lightning_launcher/wiki/doku.php?id=script_appdrawer_toggle_visibility

]]>

12 Commentsto Toggle only Hidden/Visible in App Drawer

  1. Anonymous says:

    < ![CDATA[

    Can you explain what the code do? (you never comment your code… Difficult to learn and modify!)

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Yes, I’m a bit too lazy to comment my code… 😛



    This script goes through all “items” files which belong to a container in the app drawer and toggles the hidden property. Then it restarts the launcher to make it load the data.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Thanks for the code, but would need assistance regarding this. How should I run this script? I opened the script editor, pasted the code there, set an event for it but it throws a “cannot find function bindclass” error. It’s probably a noob moment on my part, but is it something that I’m doing wrong?

    ]]>

  4. Anonymous says:

    < ![CDATA[

    No, thats not your fault. I forgot to say this requires the latest beta. So register as beta tester if you want to use it.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Hmm, I thought I was on beta. I’ll look into that then. Thanks!

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Nice, works like a charm. Thanks again!

    ]]>

  7. Anonymous says:

    < ![CDATA[

    This is not a “bit hackish”, this is a real kludge, lol 🙂


    System.exit is the only wait to stop the process hosting the app and preventing it to save its data properly, and hence this is the only solution to reload data you have just overwritten in its back.

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Not really. It works also without the last two lines. Then you just have to kill the launcher by it’s own appkiller ;)



    Provide us a method for this and we can stop overwrite things in data files

    ]]>

  9. Anonymous says:

    < ![CDATA[

    I mean:  “a stop not initiated by the launcher itself” 😉

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Oh and the exit code 2 is just random 😛 it shouldn’t make a difference with any integer 0

    ]]>

  11. Anonymous says:

    < ![CDATA[

    This is a reminiscence of another era…

    ]]>

  12. Anonymous says:

    < ![CDATA[

    You should add the wiki link for the script, in the first post of this thread!

    ]]>

Leave a Reply

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