Macro code sometimes doesn't work for the current phone call

Hi friends,
My macro recognizes active calls on the mobile and does the following:

Checks if the phone is not in an active call, then will proceed to copy the phone number, and a popup balloon appears on the screen offering the user to send the caller a saved message by WhatsApp or by SMS (the user decides if they want to send the message and by which app).
Whether they send the message or not, the pop-up waits active on the screen until a few seconds after the call ends.

Before and also after the call, the macro clears the saved data from the previous phone call.

The user has notified me that sometimes the program continues to save the previous phone number, which means that when they send the message to the current call, the message will attempt to send to the previous, and therefore wrong, phone number.


Please help me fix this (see my attached macro)
 

Attachments

  • MacroDroid_24_05_09_17_01-check.mdr
    62.6 KB · Views: 4

Winny57

Member
Hi friends,
My macro recognizes active calls on the mobile and does the following:

Checks if the phone is not in an active call, then will proceed to copy the phone number, and a popup balloon appears on the screen offering the user to send the caller a saved message by WhatsApp or by SMS (the user decides if they want to send the message and by which app).
Whether they send the message or not, the pop-up waits active on the screen until a few seconds after the call ends.

Before and also after the call, the macro clears the saved data from the previous phone call.

The user has notified me that sometimes the program continues to save the previous phone number, which means that when they send the message to the current call, the message will attempt to send to the previous, and therefore wrong, phone number.


Please help me fix this (see my attached macro)
You have sent all the macros. You should only send the macro in question in this topic as well as a copy of the macrodroid log if possible.
 
Top