I've got a question. I've adapted the script(s) found in this guide/the comments so it will only show an event if it is within an hour.
However, I'm trying to show a certain picture for each specific event (recurring daily events). To do so, I've tried to compare the title of an event with the list of events.
At the moment, the events are stored as Calevents1, Calevents2 and so on.
Currently, I'm trying to use:
%Calevents() ~R %Calevents1
Popup with image
However, which the current syntax it will show me popup if there is any task, not just the task Calevents1.
Does anyone have a better idea of how to get this to worK?
EDIT: Alright, I figured out one way to do it. For those who want to know, you can use this syntax to compare the stored events with the current event:
%Calevents1 ~R %event2
popup with image 1
%Calevents2 ~R %event2
popup with image 2
However, the downside of this is that if the calendar events change, the combinations between action and picture will be messed up.
So do keep in mind that this would only work if the same activities occur everyday, which might make it quite pointless for a lot of you.
A better way would be to search for matches between a word and the name of an event, however I have not yet been able to figure out how to do this.