How to get calendar event title displayed

Efthymios

New member
I have a macro where I try to get the phone number of someone calling/or from missed calls and find out if their number exists in my calendar events.
I managed to do it but can't seem to be able to display the found event title when there is a match. Is there a way to pass a variable of the event found and display it?

Kind regards,
Efthymios IMG_20220822_113707.jpg
 

MacroDroidDev

Administrator
Staff member
I don't know what you calendar events look like and how viable this is, but if you can extract the individual call number from the calendar event. Maybe you could do something like this:

T: Calendar Event
A: Set variable dictionary

In the action you could write to the dictionary with the key as the call number and the value as the title.

You could then look up the call number in this dictionary and if there is an associated value stored use that.
 

Efthymios

New member
I don't know what you calendar events look like and how viable this is, but if you can extract the individual call number from the calendar event. Maybe you could do something like this:

T: Calendar Event
A: Set variable dictionary

In the action you could write to the dictionary with the key as the call number and the value as the title.

You could then look up the call number in this dictionary and if there is an associated value stored use that.
I appreciate your help.
I am not an advanced user but have basic programming .
Unfortunately , it is a calendar with hundred of events monthly.
The idea of the macro is to find out if the caller is someone in my appointment book and present his/her name.
Generally, the calendar events titles have a structure of name - phone number. ie "John Doe 1234567890"
 
Top