AutoNotification OR operation on notification title

Discussion in 'AutoApps' started by shmizan, May 27, 2017.

  1. shmizan

    shmizan New Member

    Joined:
    May 27, 2017
    Messages:
    1
    Likes Received:
    0
    Hi!
    I am using Autonotification with a WhatsApp mod, to activate LEDs in Light Flow.
    I want to accomplish different LED light for regular chat vs group chat.
    the problem is that WhatsApp group notification doesn't have a distinctive notification title vs the regular (single) chat notification (or distinctive notification content).
    I've tried using the "@" sign, but WhatsApp only uses it when there are both single and group chat notifications.
    the last resort is catching/filtering the group notifications according to the titles (which are the group names).
    the problem with this solution is that I need to catch using an OR operation.
    I need to catch a notification with the title of:
    "group name a" or "group name b" or "group name c" or ...
    how can I accomplish this without creating a differnt Tasker profile for each group name?

    thanks!
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    You can use regex and then use a filter like

    Code (Text):
    (group name a)|(group name b)|.....
    Hope this helps!
     

Share This Page