umarnadeembutt
New member
I need assistance in creating a macro. Can someone guide me on how to create one? I have outlined the entire scenario and steps below. If anyone wishes to understand the details, they can comment. Or anyone can create this macro for my help. Please extend support.
Step 1: Make a Call
- Initiate a call to any number (considered as a "Signal").
Step 2: Upon Receiving the "Signal"
- Verify phone number:
- Check if the phone number starts with (0320 to 0329) or (0300 to 0309).
- Verify time duration:
- Check if the current time is between 06:00 PM and 09:00 PM.
- If not, auto disconnect the call and display a popup with the text "You are not in the time range."
- If both conditions are met, display a popup with below buttons and the message "Have you checked your free minutes today?"
- Three buttons: "Yes," "No," "Check Free Minutes."
Step 3: Handle Button Clicks:
- If "Yes" button is clicked:
- Continue with the call initiated in Step 1.
- If "No" button is clicked:
- Disconnect the call.
- If "Check Free Minutes" button is clicked:
- Dial the string (*11788*2#).
End of the macro.
Step 1: Make a Call
- Initiate a call to any number (considered as a "Signal").
Step 2: Upon Receiving the "Signal"
- Verify phone number:
- Check if the phone number starts with (0320 to 0329) or (0300 to 0309).
- Verify time duration:
- Check if the current time is between 06:00 PM and 09:00 PM.
- If not, auto disconnect the call and display a popup with the text "You are not in the time range."
- If both conditions are met, display a popup with below buttons and the message "Have you checked your free minutes today?"
- Three buttons: "Yes," "No," "Check Free Minutes."
Step 3: Handle Button Clicks:
- If "Yes" button is clicked:
- Continue with the call initiated in Step 1.
- If "No" button is clicked:
- Disconnect the call.
- If "Check Free Minutes" button is clicked:
- Dial the string (*11788*2#).
End of the macro.