AutoInput Task to send a Whatsapp message 2018-05-10

Use a simple URL to start a message and AutoInput to click on the Send button

  1. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    6,898
    Likes Received:
    599
    joaomgcd submitted a new AutoApps project:

    Task to send a Whatsapp message - Use a simple URL to start a message and AutoInput to click on the Send button

    Read more about this project...
     
    SolyomLaszlo and divyanshadwani1 like this.
  2. divyanshadwani1

    divyanshadwani1 New Member

    Joined:
    Mar 11, 2018
    Messages:
    9
    Likes Received:
    0
    Thank you so much!

    Sent from my SM-J210F using Tapatalk
     
  3. Miguel Quental

    Miguel Quental New Member

    Joined:
    May 10, 2018
    Messages:
    1
    Likes Received:
    0
    Is there any difference between this method and the Touchless Chat plugin SendMessage action?
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    6,898
    Likes Received:
    599
    This is maybe a bit faster :)
     
  5. TommyTwoPuds

    TommyTwoPuds New Member

    Joined:
    Dec 28, 2016
    Messages:
    5
    Likes Received:
    0
    Works nicely, only not (for me) when the screen is off/locked. It populates the message field but the send button just doesn't get clicked. An AutoInput action error "Action timed out" is all I get.

    I have other AutoInput tasks that work with the screen off/locked so any idea why this one won't?
     
  6. daman

    daman New Member

    Joined:
    May 12, 2018
    Messages:
    3
    Likes Received:
    0
    There is a small problem here. It works fine if the phone number has WhatsApp account but when the phone number doesn't have an account, WhatsApp shows a box with a button "OK". Currently, the task stops at that point. Can you add the code to set a variable to 1 OR 0 (or something like that) that can be used to check if the number is a valid WhatsApp account?
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    6,898
    Likes Received:
    599
    AutoInput can't click on stuff when the screen is off, sorry!

    About the problem when the user is not on whatsapp, have you tried checking with AutoInput UI Query?
     
  8. daman

    daman New Member

    Joined:
    May 12, 2018
    Messages:
    3
    Likes Received:
    0
    Yes, just fixed that with AutoInput UI Query, Thanks!

     
  9. Prodeo

    Prodeo New Member

    Joined:
    May 18, 2018
    Messages:
    1
    Likes Received:
    0
    Hi Joao,
    How about sending message to whatsapp group? Can you manage that?
     
  10. daman

    daman New Member

    Joined:
    May 12, 2018
    Messages:
    3
    Likes Received:
    0
    There is one problem I've encountered since I began using this task. I've been calling this task based on Join's push notification event. What happens is, sometimes, when the join push is received, the task doesn't wake the screen while other times, it just works. I'm not sure but Is it related to collision handling? I've had the default setting set it "Abort New Task" set and Tasker was having this issue very frequently, after changing it to "Abort Existing Task", it has improved but still it occurs once in a while and cause this issue (I've disabled the lock screen and the device OS is Android 6.x). Any clue what could be the culprit?
     
  11. Nick sarda

    Nick sarda New Member

    Joined:
    Jun 2, 2018
    Messages:
    1
    Likes Received:
    0

Share This Page