Post Reply

[Q][Tasker] Send a message to multiple Whatsapp Contacts using "WhatsTasker"

22nd March 2014, 10:53 PM   |  #1  
OP Member
Thanks Meter: 2
 
74 posts
Join Date:Joined: Nov 2009
More
Hello Everyone
I want to Send a message to multiple Whatsapp Contacts/Groups using "Tasker" with "WhatsTasker" plugin .

I tested my implementation to send SMS message to multiple contacts and it works well. But when I try to send message to whatsapp it sends the message only to the first index (Contact/Group)

Also, I have test this to send a personal message to 2 contacts but it sends the message only to first number

I tried to trim the "@s.whatsapp.net"/for contacts and "@g.us" for groups in 2 variables then add them inside whatstasker After the number -> Still sends to only first number

I thought it's because it's using root access and Toast message displays so I used "Wait" action for 10 seconds inside For loop after sending the message but still same thing only first contact will receive the message

did I miss something with my implementation?

this is my latest Task Description (Ignore A3 and A10)

Code:
SMS (9)
	A1: Variable Set [ Name:%msg To:Test tasker Do Maths:eek:ff Append:eek:ff ] 
	A2: Variable Set [ Name:%telephones To:90123456789-1395136140,91234567890-1395136053 Do Maths:eek:ff Append:eek:ff ] 
	A3: Variable Set [ Name:%whatsappname To:@s.whatsapp.net Do Maths:eek:ff Append:eek:ff ] 
	A4: Variable Set [ Name:%whatsappgroup To:@g.us Do Maths:eek:ff Append:eek:ff ] 
	A5: Variable Split [ Name:%telephones Splitter:, Delete Base:eek:ff ] 
	A6: For [ Variable:%current Items:1:%telephones(#) ] 
	A7: WhatsTasker Send Message [ Configuration:ID: %telephones(%current)%whatsappgroup
Message: %msg Package:net.zhdev.whatstasker Name:WhatsTasker Send Message Timeout (Seconds):3 ] 
	A8: Wait [ MS:0 Seconds:10 Minutes:0 Hours:0 Days:0 ] 
	A9: [X] Send SMS [ Number:%telephones(%current) Message:%msg Store In Messaging App:eek:ff ] 
	A10: End For
20th May 2014, 05:22 AM   |  #2  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: May 2014
BUMP!!

Looking for something like this in more brief..
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Q&A, Help & Troubleshooting by ThreadRank