jgclark / NotePlan-tools

This Ruby script adds functionality to the [NotePlan app](https://noteplan.co/). Particularly when run frequently, this provides a more flexible system for repeating tasks, allows for due dates to be expressed as offsets which allows for templates, and moves or files items from Daily files to Note files. It incorporates an ealier script to 'clean' or tidy up NotePlan's data files.
26 stars 6 forks source link

Creation of new events #36

Closed jgclark closed 3 years ago

jgclark commented 3 years ago

Extend to allow creation of new events in Apple Calendar when the #create_event tag is used on a line (task, comment or heading). It would use the existing timeblocking syntax (either at 8[-11][AM|PM] or 3:00[-4:00][AM|PM]) but doesn't just show time on the NotePlan calendar, but make a proper event.

For example, this would allow for meeting events to be listed in a daily note, and also created in the calendar, for example:

### Project X Meeting #create_event 10-11am

In combination with the date offset patterns above, it further allows scheduling preparation time days or hours before events, for example:

### Project X Meeting #create_event 10-11am
* write agenda {-5d} #create_event 9:00-9:30
jgclark commented 3 years ago

Basic function is working in v1.8.0.

I'd now would like to add:

jgclark commented 3 years ago

Need to update the code to open Calendar if it isn't running. Want to allow different string than #create_event as well.

jgclark commented 3 years ago

Done all of these with commit 496c568fc72fabe1e90347b02c0f90d1123544cb, so closing.