Hi dear friends, I want to create a macro that will send an SMS to every missed call number once a day. That means if anybody gives a missed call to me he will get only one SMS for that day. And if another person gives another missed call on the same day, he will also get one SMS for that day and so on. After that, the next day same thing will repeat.
I don't know how to use variables, can you please help me by making that macro?
Thank you in advance...
Here's a general structure for such a macro:
T1: SMS received from Any number and containg text such as "missed call"
T2: Date/Time on every working day at 7:00pm (19:00)
A: If T1 fired...
A: Extract the current phone number from the Received SMS
A: 2 possibilities:
- Append this number with a separator character to an existing String variable
String_Var=String_Var/Current_Phone_Number
with a constraint
String_Var does not contain /Current_Phone_Number
OR
- Add this number to a Dictionary
A: Else (or ElseIf T2 fired...)
A: 2 possibilities:
- Loop until String_Var is empty...
Extract 1st /Phone number from String_Var
Send SMS to this number (without the / separator)
Remove /Phone number from String_Var
OR
- Iterate dictionary and send SMS to each iterated key. Then erase all dictionary entries
A: EndIf
To use Text manipulation you must use basic Regex syntax. You can G**gle it.