Send sms command

55 views
Skip to first unread message

Morgan Young

unread,
Jul 12, 2021, 12:36:55 AM (12 days ago) Jul 12
to Tasker
Send sms command is sending each sms twice.  On samsung s20.

Morgan Young, BS, EMT-P, DM, I/C
Paramedic
417.501.6285
ryo...@mo1dmat.com
richard.m....@gmail.com

João Dias

unread,
Jul 12, 2021, 6:03:09 AM (11 days ago) Jul 12
to tas...@googlegroups.com
Hi. So if you create a new task, add a send SMS action to send an SMS to yourself with some text and then run it, you'll receive 2 SMS?

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Morgan Young

unread,
Jul 13, 2021, 6:50:49 PM (10 days ago) Jul 13
to Tasker
I did that task and it worked out ok.

this task does not workout so well.

    Send a holiday greeting (129)
    Stay Awake
    A1: Variable Set [ Name:%message To:Happy New Year!   Max Rounding Digits:3 ] If [ %DATE ~ 1-1-** ]
    A2: Variable Set [ Name:%message To:Merry Christmas! 🎄🎁  Max Rounding Digits:3 ] If [ %DATE ~ 12-25-** ]
    A3: Variable Set [ Name:%message To:Happy Independance Day!  💥💣💥💣 Max Rounding Digits:3 ] If [ %DATE ~ 7-4-** ]
    A4: Variable Set [ Name:%message To:Happy Thanksgiving! Max Rounding Digits:3 ] If [ %DATE ~ 11-**-** & %DAYW ~ Thursday ]
    A5: Read File [ File:contacts_mobile_nums.txt To Var:%Contacts_mobile_nums ] 
    A6: Variable Split [ Name:%Contacts_mobile_nums Splitter:; Delete Base:On ] 
    A7: Array Process [ Variable Array:%Contacts_mobile_nums Type:Remove Duplicates ] 
    A8: Variable Set [ Name:%SentSMS To:0 Max Rounding Digits:3 ] If [ %SentSMS !Set ]
    A9: Array Process [ Variable Array:%Contacts_mobile_nums Type:Squash ] 
    A10: For [ Variable:%contact Items:%Contacts_mobile_nums(1:600) ] 
    A11: Stop [  ] If [ %contact ~ --------* ]
    A12: Flash [ Text:%contact Long:On ] 
    A13: Notify [ Title:%contact Text:%message Number:0 Priority:5 LED Colour:Red LED Rate:1 Category:super_tasker_notifications_created_by_me_the_developer Actions:(1) ] 
    A14: AutoNotification [ Configuration:Title: %contact
    Text: Have sent %SentSMS messages
    Icon: android.resource://net.dinglisch.android.taskerm/hl_aaa_ext_anchor
    Status Bar Text Size: 16
    Id: Holiday
    Timeout: 90000
    Priority: 0
    Visibility: Public
    Number: 1
    Use Chronometer: true
    LED Color: blue
    Text Expanded: Sent %contact a message.  That is %SentSMS sent messages
    Category Id: autonotificaton_super_tasker_notifications
    Separator: ,
    Only on Phone: true Timeout (Seconds):20 ] 
    A15: Send SMS [ Number:%contact Message:%message Store In Messaging App:On SIM Card:AT&T Continue Task After Error:On ] If [ %contact neq ------------------------
    
    -------------------* ]
    A16: Variable Add [ Name:%SentSMS Value:1 Wrap Around:0 ] 
    A17: Flash [ Text:Sent %contact a message.  That is %SentSMS sent messages Long:On ] 
    A18: Wait [ MS:0 Seconds:15 Minutes:0 Hours:0 Days:0 ] 
    A19: End For 
    A20: Array Clear [ Variable Array:%Contacts_mobile_nums ]



Morgan Young, BS, EMT-P, DM, I/C
Paramedic
417.501.6285
ryo...@mo1dmat.com
richard.m....@gmail.com
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/CAG6Z%2BFfpyT%2BSU_Soa2BkfrgP2_mBQta-mHqhx6oSGzh80hxPpg%40mail.gmail.com.

João Dias

unread,
Jul 14, 2021, 4:54:11 AM (9 days ago) Jul 14
to tas...@googlegroups.com
Maybe  %Contacts_mobile_nums   contains duplicate numbers?

Morgan Young

unread,
Jul 18, 2021, 11:56:25 AM (5 days ago) Jul 18
to Tasker
I have the "delete duplicates" action in the array, but some address book enties might have country code in the entry, others without it.

is there anyway to get the java to look at just the google address book?   there seems to be multiple address books on my phone, one from each app that uses the address book.

Thank you.


Morgan Young, BS, EMT-P, DM, I/C
Paramedic
417.501.6285
ryo...@mo1dmat.com
richard.m....@gmail.com
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages