Christos Anastassis
now browsing by tag
Hi all. New to this community, although I’ve used the awsome launcher that is LL for about half a year.
Hi all. New to this community, although I’ve used the awsome launcher that is LL for about half a year.
I need to assign an “if” condition to an event I’ve assigned to an icon. More specifically I want to set long press to open a folder in which I’ve added a Notifications’ Widget (my “makeshift” notification dot) ONLY if an unread notification exists for said app.
I’ve set up LL variables linked to Tasker variables that count notifications and successfully bound (using bindings) the multi tool unread badges’ visibility with a >0 statement for the LL variable that is linked to the Tasker notification count variable.
My question is how to link the same statement with the visibility (or rather the executability) of the long press to open folder action. I want the long press to open the folder if the unread badge is visible (which is the case of the notification count is >0) and do nothing if the unread badge is invisible (and notification count is 0).
Is there a script I could set up to do this?
I’d appreciate any member’s valuable ideas on this…
Apologies if this has been answered somewhere already, but I haven’t seen any such post in the search I’ve done.