Tasker reading from Truecaller

Discussion in 'Tasker' started by mentos, Nov 5, 2015.

  1. mentos

    mentos New Member

    Joined:
    Nov 5, 2015
    Messages:
    3
    Likes Received:
    0
    I am trying to make a tasker script which can read the details from a Truecaller display when a call comes in and log the caller's name along with call derails in a sheet on Google Drive.
    However I am unable to find a plugin which can read from the Truecaller display.
    Can anyone suggest such a plugin?
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Have you tried AutoInput yet?
     
  3. mentos

    mentos New Member

    Joined:
    Nov 5, 2015
    Messages:
    3
    Likes Received:
    0
    Hi, sorry for the late reply. Yes I tried the trial version of AutoInput "Manage input actions" but AutoInput would not detect the overlay from Truecaller on the incoming call screen.
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Oh, right, AutoInput can't detect overlays, sorry!
     
  5. mentos

    mentos New Member

    Joined:
    Nov 5, 2015
    Messages:
    3
    Likes Received:
    0
    Can you suggest any other way/app to do it?
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Unfortunately I'm not familiar with Truecaller sorry!
     
  7. AJ Shaikh

    AJ Shaikh New Member

    Joined:
    Jan 27, 2017
    Messages:
    4
    Likes Received:
    1
    I've found a work-around for this by using the OCR function of AutoTools.
    - do screenshot of incoming call screen (with the Trucaller's overlay) using Run Shell command and have resulting png file saved in specific location
    - Autotool's OCR then reads the screenshot png file from that location
    - do variable split on %atocrvalue and extract Truecaller's caller info into a variable
    - speak out the caller info variable during ring
    - delete the screenshot file
     
    GXG.O likes this.
  8. GXG.O

    GXG.O New Member

    Joined:
    Nov 19, 2017
    Messages:
    8
    Likes Received:
    1
    I have some problems in splitting the %atocrvalue variable, meaning that I tried to separate it by "," but no value is returned. Can you explain to me, please, how did you do it?
     
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    It's an array, so you have to access a position on it :) Try using %atocrvalue(1) for example.
     
    GXG.O likes this.
  10. GXG.O

    GXG.O New Member

    Joined:
    Nov 19, 2017
    Messages:
    8
    Likes Received:
    1
    Thank you very much for your help. Now I understand what I have to do.
     
  11. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Glad you got it! :)
     

Share This Page