Generate calendar weeks

Rethink things in terms of the 52 week in the year.

Actions Used

shortcuts-action-icon-repeat.webp
Repeat
Repeats the contained actions, running them the specified number of times.
Date
Passes the specified date and time to the next action.
Format Date
Formats a date and time into text.
Adjust Date
Adds or subtracts an amount of time from the date passed into the action.
shortcuts-action-icon-set-variable.webp
Set Variable
Sets the value of the specified variable to the input of this action.
shortcuts-action-icon-combine-text.webp
Combine Text
Joins text together, inserting the separator between each join.
shortcuts-action-icon-text.webp
Text
Passes the specified text to the next action.
action-icon-calculate-expression.webp
Calculate Expression
Evaluates the mathematical expression in the given input string and outputs the result as a number.
shortcuts-action-icon-stop-and-output.webp
Stop and Output
Stops execution of the current shortcut, and outputs content. This action is useful when: • Running a shortcut from another shortcut (using the Run Shortcut action). The output will be used as the output of the Run Shortcut action. • Running a shortcut from Quick Actions in Finder on macOS. The output will be saved as a file alongside the files selected in Finder. • Running a shortcut from Services on macOS. The output will replace the selected content, if applicable. • Or, when running a shortcut from another location that supports output, like the command-line or the Shortcuts URL scheme. No more actions will be run after this action.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Generate%20calendar%20weeks
Open Shortcut deep link
shortcuts://open-shortcut?name=Generate%20calendar%20weeks
AppleScript code
tell application “Shortcuts Events” run shortcut “Generate calendar weeks” end tell

More From This Folder

More From The Library

Book Mode

Opens the Books app, then prompts you to confirm setting orientation lock so the screen doesn’t rotate. When run from Mac, opens the app in fullscreen.

Get Shortcut »

Run a shortcut

Asks you to enter the name of a shortcut, then finds and runs that shortcut. Also uses scripting to check if more than one exists with that name and asks which to run.

Get Shortcut »


Get way deeper into Shortcuts – become a member.