Shortcut Monday is a series highlighting Shortcuts that I use on a regular basis. If you haven’t downloaded the Shortcuts app yet, you can do so for free here.
When I am creating a syllabus for a class it is often a slow and inaccurate (my own errors just reading a calendar properly!) process to get a list of dates in the future. For example, if I’m wanting every Monday for the next 16 weeks I can open up my calendar and write the dates down…or I can use this shortcut.
The first step of the workflow is a simple Ask for Input for the number of weeks. The next step takes this total and subtracts one from that number because the workflow will using the starting date that I give it in the next step as the first week.
The second step just asks for the starting date that I would like to use. Next, I format the date for what I would like and set the variable to store for later. The Nothing action just separates the next step so input doesn’t continue being passed through the workflow.
Next, a slightly more complicated calculation that I would not have figured out without the help of sylumer on the Automator’s Discourse forum.
Finally, the next group of actions is pretty simple. I first grab the variable from the list of dates and use the Split Text action to make sure they are all on new lines then I copy that text to the clipboard and open Drafts. I have decided if I want to keep the Add to Draft action but currently that is how I have it setup.
You can view the entire Siri Shortcut below.