Anyone know there’s script or an in-app way of making folders close when you tap anywhere not inside it?

Anyone know there’s script or an in-app way of making folders close when you tap anywhere not inside it?

12 Commentsto Anyone know there’s script or an in-app way of making folders close when you tap anywhere not inside it?

  1. There are lightning actions for close top most folder and close all folders

  2. Chris Chastain yes I saw those, but I’m not sure how I’d trigger that to happen when tapping anywhere outside a folder. Is there an example script that does this or shows how it’d work?

  3. Script is not needed. Just add shortcut

  4. Chris Chastain Sorry, maybe I’m not being clear. In other launchers like Nova, when you tap outside a folder anywhere, the folder closes. I want to emulate that functionality.

    Here is a video of Nova Launcher to better explain what I mean: https://goo.gl/photos/KeXKxvG8y9u2WHw39

  5. TrianguloY says:

    I think the best is to use Lukas Morawietz​​ script dim background when folder is opened https://play.google.com/store/apps/details?id=com.faendir.lightning_launcher.dimbackground with a transparency of 0 and editing the script so that clicking the added item closes the top most folder: Change

    new Intent()

    with

    Intent.parseUri(“#Intent;component=net.pierrox.lightning_launcher_extreme/net.pierrox.lightning_launcher.activities.Dashboard;i.a=29;end”,0)

  6. Stefan Koshy I understand. Shortcut is simplest.

    Script that TrianguloY​ said is the most foolproof.

  7. Hmm TrianguloY I tried making that change but nothing has happened, no error either. Here’s what I have: https://jsfiddle.net/qs1x5my6/

  8. TrianguloY says:

    Stefan Koshy​ did you run the script before making the change? If so you need to delete the bg item from your desktop (use the hierarchy menu to find it, probably is invisible) no wait, it is removed automatically… Answer this following question

    If not: is the script running properly? Does the background dim when opening the folder? 

  9. Yup the script is running properly, the background dims like it’s supposed to. But when tapping on the BG, the same behavior as before (keeps folder open and opens whatever I tap on) occurs.

  10. TrianguloY says:

    Oh, right.

    Remove this:

    .setBoolean(“i.enabled”,false)

    It should be simply

    …String(“i.pinMode”,”XY”).setBoolean(“s.iconVisibility…

  11. That did it! Thank you so much TrianguloY!

    For anyone that sees this later and just wants a copy/paste solution, I pasted the script here for your reference: http://pastebin.com/3jLSNP9K

  12. Chris Chastain I don’t know but I’m with you. The most foolproof way is a simple desktop gesture > tap empty space > close top most folder.

Leave a Reply

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