pimpontitit
New member
Hi,
I'm currently using a Macro that stores in my calendar my entrance and exit hours from workplace.
Basically it works like that:
Triggers:
-Entrance at worplace (geofencing)
-exit from workplace (geofencing)
Actions:
-If entrance trigger --> add an event in calendar called "entrance work"
-If exit trigger --> add an event in calendar called "exit work"
So, per day, I have two events: one 5 minutes entrance event in the morning, and one 5 minutes exit event in the afternoon.
Instead of two events, I would prefer one long event from 8am to 5pm called "Work"
Is there a way to do that ?
For example is it possible to change the macro to something like:
When entrance trigger --> log the hour and start a countdown
When exit trigger --> use the logged information (entrance hour + countdown/time spent there) to create an event.
Or another way: I keep the original macro as it is, but instead of:
-if exit trigger --> add event
Something like:
-if exit trigger --> edit the last "entrance at work" event and change its end time to the current hour
Is there a way to dot that just with MD ?
If not, I downloaded a plugin called CalendarTask, that offers a "Modify event" option.
But then there are many fields I dont know how to fill as:
-Event ID
-Start time
-End time
-Title
Etc..
How can I make the Event ID field understand that I want the latest "Entrance at work" from my calendar.
Thank you for your help
I'm currently using a Macro that stores in my calendar my entrance and exit hours from workplace.
Basically it works like that:
Triggers:
-Entrance at worplace (geofencing)
-exit from workplace (geofencing)
Actions:
-If entrance trigger --> add an event in calendar called "entrance work"
-If exit trigger --> add an event in calendar called "exit work"
So, per day, I have two events: one 5 minutes entrance event in the morning, and one 5 minutes exit event in the afternoon.
Instead of two events, I would prefer one long event from 8am to 5pm called "Work"
Is there a way to do that ?
For example is it possible to change the macro to something like:
When entrance trigger --> log the hour and start a countdown
When exit trigger --> use the logged information (entrance hour + countdown/time spent there) to create an event.
Or another way: I keep the original macro as it is, but instead of:
-if exit trigger --> add event
Something like:
-if exit trigger --> edit the last "entrance at work" event and change its end time to the current hour
Is there a way to dot that just with MD ?
If not, I downloaded a plugin called CalendarTask, that offers a "Modify event" option.
But then there are many fields I dont know how to fill as:
-Event ID
-Start time
-End time
-Title
Etc..
How can I make the Event ID field understand that I want the latest "Entrance at work" from my calendar.
Thank you for your help
Last edited: