AutoNotification Autonotification reads emoticons too

Discussion in 'AutoApps' started by dborghi, Mar 26, 2017.

  1. dborghi

    dborghi New Member

    Joined:
    Feb 26, 2017
    Messages:
    4
    Likes Received:
    0
    Hi,
    I made a profile in tasker that reads WhatsApp message.
    My problem is that autonotification translates emoticons too, and I don't want it.
    Is there any way?
    Tnx
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Maybe you can remove the emoticons from the text before reading them out loud? :)
     
  3. dborghi

    dborghi New Member

    Joined:
    Feb 26, 2017
    Messages:
    4
    Likes Received:
    0
    Mmmhhh,
    But how Can i do it? I can't replace with a "" Every single possible emoticon
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Sorry, there's really no good way to detect what an emoticon character is. What language are you using? Maybe you can do it the other way around and just keep regular letters?
     
  5. dborghi

    dborghi New Member

    Joined:
    Feb 26, 2017
    Messages:
    4
    Likes Received:
    0
    Italian language
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Try using the search and replace action and replacing
    Code (Text):
    [^A-Za-z0-9]
    with nothing and see how that works :)
     
  7. dborghi

    dborghi New Member

    Joined:
    Feb 26, 2017
    Messages:
    4
    Likes Received:
    0
    You are a genius! It's work perfectly!
    Tnx
     

Share This Page