Send sms after missed call

Hi
I created a new macro
That I have missed call will send sms
But
I want do it once of the day for each number
How do i it
Help me
 

Andydroid

Member
In your macro define a local string variable eg sList which is initially empty

When a missed call comes in, check if sList contains the number; if it does, quit the macro; if it doesn't, send the SMS and append the number to the list, followed by some sort of delimiter eg '!!' eg 123!!345!!678!!

Set a Time trigger in the same macro to 00:00 every day which, when triggered, will reset sList to (empty)
 

Dm114

Well-known member
In your macro define a local string variable eg sList which is initially empty

When a missed call comes in, check if sList contains the number; if it does, quit the macro; if it doesn't, send the SMS and append the number to the list, followed by some sort of delimiter eg '!!' eg 123!!345!!678!!

Set a Time trigger in the same macro to 00:00 every day which, when triggered, will reset sList to (empty)
Be careful to surround numbers with whatever delimiter(s) (including 1st and last one in the list). "!" can be ok and it will look like !123!345!678! in order to check whether !123! or !678! exist in the list
 
Be careful to surround numbers with whatever delimiter(s) (including 1st and last one in the list). "!" can be ok and it will look like !123!345!678! in order to check whether !123! or !678! exist in the list
Hi

Yes

Answer my question

But that macro don't do correct

Please help me

For example once or twice and more time that macro do correct but after that I don't know for what result

That do not work. Please give me a file of macro
Thank you
 

Attachments

  • MacroDroid_23_08_12_02_41.mdr
    24.7 KB · Views: 4
Be careful to surround numbers with whatever delimiter(s) (including 1st and last one in the list). "!" can be ok and it will look like !123!345!678! in order to check whether !123! or !678! exist in the list
Last log
 

Attachments

  • Screenshot_20230812-043318_MacroDroid.jpg
    Screenshot_20230812-043318_MacroDroid.jpg
    504.7 KB · Views: 9
What doesn't work as expected? Please send an image of your macro together with some explanations.
Hi
I checked and found that this macro is healthy. But it only works for cases that are miss calls, and I even changed the triggers to End calls, but it still doesn't work, and it only works correctly for miss calls.
 

Dm114

Well-known member
Hi
I checked and found that this macro is healthy. But it only works for cases that are miss calls, and I even changed the triggers to End calls, but it still doesn't work, and it only works correctly for miss calls.
If it works for missed calls it should work for ended calls.
Could you please send an image of this macro.
 
Macro and photos
 

Attachments

  • Screenshot_20230812-141038_MacroDroid.jpg
    Screenshot_20230812-141038_MacroDroid.jpg
    191 KB · Views: 9
  • Screenshot_20230812-142051_MacroDroid.jpg
    Screenshot_20230812-142051_MacroDroid.jpg
    273.9 KB · Views: 10
  • 1.mdr
    31.3 KB · Views: 0
Top