Productivity Shortcuts

Automation with the goal of being productive is extremely logical, and this section is dedicated to making and explaining shortcuts with exactly that purpose. There is a download link for each shortcut provided at the end of its section, but I also explain how to build each one manually yourself.

Share PDF

This shortcut takes anything you give it, makes a PDF with it, and shows you the sharing options for a PDF. Here’s what we need to do to build the shortcut:

  1. Add the Make PDF action.

    You don’t have to do anything to this action, just add it to your shortcut. As the name says, it makes a PDF.

  2. Add the Share action.

    When you add this action, it should automatically say “Share PDF”, and if you tap PDF, you can tap Reveal Action to see that the PDF comes from the Make PDF action.

  3. Tap the More icon and toggle on Show in Share Sheet. Then tap Done.

  4. Tap Next in the top-right corner, set the name (“Share PDF”), and optionally tap the icon to change its color or glyph. Then tap Done.

That’s it! You just built a really useful shortcut in four steps! Let’s test it. Go to Safari and open a webpage (such as TakeControlBooks.com). Tap the share icon, and scroll down in the list of actions until you find Share PDF—tap it. The shortcut makes a PDF of the webpage and opens another share menu to let you share it.

Install Share PDF shortcut: https://alt.cc/shsp

Meeting Time and Notes

Usually as we walk into a meeting (whether that be a meeting room or clicking on a link to join a teleconference) there are plenty of things running through our heads—everything from “Is Bob’s cat back from the vet?” to “I need to check who is on holiday in two weeks and see if it affects our deadlines.” This leaves precious little space for the small but important things like creating a new meeting note and making sure Do Not Disturb is enabled. This shortcut is designed to help us tackle the little things with just a tap.

This shortcut gives you a list of events from your calendar today, asks you to choose from them, and turns on Do Not Disturb until the end of the event. Then it formats the data from your event into a usable format and creates a note with it. Finally, it searches for that note and opens it.

Here are instructions to build this shortcut:

  1. Add a Find Calendar Events action.

    Change variable to the right of Start Date from is in the next to is today. Then tap Add Filter, which defaults to Calendar is Home (or another calendar on your device.) Tap Calendar and choose Is Not All Day. Then change Sort By to Start Date and set the Order to Oldest First (the default). (When you’ve done this the action should look like Figure 42).

    Figure 42: The Find Calendar Events action filled out.
    Figure 42: The Find Calendar Events action filled out.
  2. Add a Choose from List action.

    Shortcuts auto fills the List with Calendar Events, so you don’t have to do any more work.

  3. Add a Set Do Not Disturb action.

    Tap the Off variable to change it to On, and then tap Turned Off. Tap Event Ends, and then tap Event. Tap Select Magic Variable and then tap Chosen Item (which appears below the Choose from Calendar Events action).

  4. Add a Text action.

    Alone this action does nothing, so we have to put in the content. Tap the text field and tap Chosen Item in the row above your keyboard. Shortcuts now shows you a list of elements of your Calendar Event. Tap Title (the default). Add a return to the text box, and tap Chosen Item again, this time selecting Start Date. After another return, tap Chosen Item, and this time select Attendees. Add two more returns. Finally, add yet another Chosen Item and select Notes. Tap Done. (See the first action in Figure 43.)

  5. Add a Create Note action.

    This fills out the with section to use the Text action above.

    Figure 43: Steps 4 and 5 from this shortcut.
    Figure 43: Steps 4 and 5 from this shortcut.
  6. Add a Find Notes action.

    Unfortunately our Create Note gives us the content of the note, not the note itself. We could open Notes and find it, but where’s the automation in that? Instead we can use the Find Notes action. Tap the Text variable and press Delete to clear it. When it prompts you, select All Notes. Tap Add Filter and then change the anything in Body contains anything to use a magic variable (Figure 44), and select the Text action from above.

    Figure 44: Change the variable in the Find Notes action.
    Figure 44: Change the variable in the Find Notes action.
  7. Select All Notes in the Find Notes action.

  8. Add a Show Note action.

    This action automatically uses the magic variable output of the Find Note action.

  1. Tap Next, give the shortcut a name and icon, and tap Done.

Install Meeting Time shortcut: https://alt.cc/shmt

Event Templates

We all have events we add to our calendar semi-regularly, but they’re not recurring events—haircuts, quiz nights, dinner with friends, and trips to the cinema. This is something we can easily have Shortcuts handle for us: we choose the event and set the start date and it can do the rest of the work for us. (Figure 45).

Figure 45: Event Templates: Choose from Menu.
Figure 45: Event Templates: Choose from Menu.

Follow these steps to create the shortcut:

  1. Add a Choose from Menu action.

    Rename “One” and “Two” to Haircut and Dinner, and then add three more menu options for Quiz Night, Cinema, and Event from Today. Each menu item you add also appears as a separate block beneath the menu, so you can specify different actions for each choice.

  2. Beneath the Haircut option add an Ask for Input action.

    Set the Question to Start Date, and in the Show More area, set the Input Type to Date and Time.

  3. Directly below Ask Start Date, add an Adjust Date action.

    Set this to [Add] [45] [minutes] to Provided Input (the output of the Ask for Input action).

  4. Right after [Add] [45] [minutes] to Provided Input, add an Add New Event action.

    Set the Event Title to Haircut, From to Provided Input (a magic variable from the Ask for Input action in step 2), and To to Adjusted Date. Tap Show More and set the Location to the address of your hairdresser.

    The whole Haircut section should look like Figure 46.

    Figure 46: Event Templates: Haircut.
    Figure 46: Event Templates: Haircut.
  5. Under the Dinner option, add an Ask for Input action.

    Set the Question to Start Date, and in the Show More area, set the Input Type to Date and Time.

  6. Below Ask Start Date, add an Adjust Date action.

    Set this to [Add] [2] [hours] to Provided Input (the output of the Ask for Input action).

  7. Under [Add] [2] [hours] to Provided Input, add an Add New Event action.

    Set the Event Title to Dinner, From to Provided Input (a magic variable from the Ask for Input action in step 5), and To to Adjusted Date. Tap Show More and set the Location to Ask Each Time.

  8. Under the Quiz Night option, add an Ask for Input action.

    Set the Question to Start Date, and in the Show More area, set the Input Type to Date.

  9. Below Ask Start Date, add a Date action.

    Set this to [Specified Date] [Provided Input] [7 PM].

  10. Under [Specified Date] [Provided Input] [7 PM], add an Adjust Date action.

    Set this to [Add] [2] [hours] to Date (the output of the Date action).

  11. Right after [Add] [2] [hours] to Date, add a List action.

    Add Quiz Masters and Ultimate Quiz Showdown as list items (these are definitely real places!).

  12. Below List, add a Choose from List action.

    Make sure that list is set to List (from the above action).

  13. Under Choose from List, add an Add New Event action.

    Set the Event Title to Quiz Night, From to Provided Input (a magic variable from the Ask for Input action in step 8), and To to Adjusted Date. Tap Show More and set the Location to Chosen Item. Check Figure 47 to make sure everything looks right.

Figure 47: List, Choose from List and the resulting choice are used to set the location.
Figure 47: List, Choose from List and the resulting choice are used to set the location.
  1. Under the Cinema option, add an Ask for Input action.

    Set the Question to Start Date, and in the Show More area, set the Input Type to Date and Time.

  2. Below Ask Start Date, add an Adjust Date action.

    Set this to [Add] [Ask Each Time] [minutes] to Provided Input (the output of the Ask for Input action).

  3. Under [Add] [Ask Each Time] [minutes] to Provided Input, add an Add New Event action.

    Set the Event Title to Cinema, From to Provided Input (a magic variable from the Ask for Input action in step 15), and To to Adjusted Date. Tap Show More and set the Location to the address of your cinema.

  4. Under the Event from Today option, add a Find Calendar Events action.

    Set the Start Date to is today.

  5. Beneath Find All Calendar Events where, add a Choose from List action.

    This should automatically select Calendar Events from step 17.

  6. Right after Choose from Calendar Events, add a Get Details of Calendar Events action.

    Set Detail to Duration and Calendar Event to Chosen Item (the second should be set automatically.)

  7. Below Get Duration from Chosen Item, add an Ask for Input action.

    Set the Question to Start Date, and in the Show More area, set the Input Type to Date and Time.

  8. Under Ask Start Date, add an Adjust Date action.

    Set it to [Add] [Duration] [seconds] to Provided Input.

  9. Below [Add] [Duration] [seconds] to Provided Input and just above End Menu (which will be the final block), add an Add New Event action.

    Set the Event Title to Chosen Item (from step 18), and then tap Title. Set From to Provided Input (a magic variable from the Ask for Input action in step 20), and To to Adjusted Date. Tap Show More and set the Location to Chosen Item (from step 18), and then tap Location as the part of the calendar event.

  10. Tap Next, give the shortcut a name and icon, and tap Done.

After the marathon of 23 actions, you have built an extremely powerful shortcut! We’re not quite done yet though! Tap the More icon and then Import Questions. Tap Add New Question and find the Location element of Add Calendar Event in Haircut, and type a suitable prompt (e.g. “Type the address of your Hairdressers”). Repeat this with the cinema. This means when you share your shortcut with someone else, they have to fill in the address of their hairdresser and cinema, instead of following you to yours!

Install Event Templates shortcut: https://alt.cc/shet

Add Tasks in Bulk

Usually when I think of something I need to do, as soon as I start to write it down I think of another 10 things to do. This shortcut is intended to solve this problem. When you run this shortcut, you can write down multiple tasks without lots of taps, and then process them afterwards (Figure 49).

Figure 49: The dialogs you see when you run this shortcut.
Figure 49: The dialogs you see when you run this shortcut.

Let’s build this Shortcut together:

  1. Add an Ask for Input action.

    Add this action to your shortcut, and then change Question to something helpful—I used Task List.

  2. Add a Split Text action.

    This automatically updates to “Split Provided Input by New Lines”. Provided input is the output of the Ask for Input action.

  3. Add a Repeat with Each action.

    This uses the Split Text action, one repeat for one line.

  4. Just after “Repeat with each item” (so it’s within the Repeat with Each loop), add an Add New Reminder action.

    Set Reminder to Repeat Item. Tap No Alert and then tap Ask Each Time. Tap Show More, and set Reminder to Repeat Item. Tap List followed by Ask Each Time. Then Tap in the Notes field and again, tap Ask Each Time.

    The beauty of this is you don’t have to fill out any field when this runs. If you want to add more details you can, and you tap Done when you are happy to add the task to Reminders. If you want to always save the tasks to a specific list then you can remove Ask Each Time from the List field and set your preferred list.

  5. Tap Next, give the shortcut a name and icon, and tap Done.

Install Add Tasks in Bulk shortcut: https://alt.cc/shtb

Daily Overview

This shortcut gives you an overview of your day—a list of events on your calendar, any reminders, and the weather forecast. But before we get to it, I must insert a giant disclaimer:

I created my daily overview shortcut to use in two ways, one when I turn off my alarm in the morning, and the other through Siri. It makes use of the Show Result action, when you run this through Siri the text in Show Result is spoken and shown, and when you run it from the Today Widget or the app then the text is shown.

I always start these shortcuts with the most important information first; that way, if your attention wanders, you probably got the “good bit.”

Here are the step-by-step instructions to build this Shortcut:

  1. Add a Find Calendar Events action.

    Tap is in the next and change it to is today—this limits the events to those today. You may also want to add another filter (tap Add Filter) to focus on a specific calendar, or to find events not on a specific calendar. Set your Sort by to Start Date to make sure the result is ordered by time.

  2. Add an If action.

    When you add this, it automatically changes to If Calendar Events, but change the condition to has any value. Now we can give ourselves different information if we have events versus when we don’t.

  3. Below the If action, but above Otherwise, add a Text action.

    Here, type Calendar events for today:.

  4. Below Text, add a Show Result action.

    This shows the Text from above.

  5. Below Show Text, add a Repeat with Each action.

    When we add this, it automatically uses Text from the first action beneath our If. Tap this, press Delete to clear it, and then tap Select Magic Variable followed by Calendar Events—this is from the very first action in our shortcut.

  6. Directly beneath Repeat with each item in Calendar Events, add a Get Details of Calendar Events action. Set Detail to Is All Day and Calendar Event to Repeat Item. This tells us if our event is an all-day event or not.

  7. Below Get Is All Day from Repeat Item, add a second If action. This should automatically become If Is All Day, which translates to “if this is an all day event.”

  8. Inside the newly added If Is All Day action, but above the Otherwise, add a Text action. Tap the text field, and tap the variable Repeat Item. Then tap that and change the as Text to as Calendar Event. (Note: As mentioned in the warning above, this is the specific thing you can’t do at the moment.) Now you can tap Title to get the title of the calendar event.

  9. Fill in the Otherwise statement, which was automatically added as part of the If action. (If you accidentally deleted it, tap the action settings icon next to the delete icon, and choose Put Back “Otherwise” to fix it.) Just below Otherwise, add a Text action. In the same we added the Title in step 8, add “Start Date to End Date - Title” here. (Again, this isn’t possible as of publication time.)

  10. Skip ahead past the first End If statement and the End Repeat statement that follows it, and add a Show Result action (just above the second Otherwise statement—you can delete that as we don’t need it).

    This should automatically set Repeat Results as its variable.

  11. At the very bottom, right after the End If statement, add a Find Reminders action.

    Tap Add Filter, tap List, and choose Due Date, and then change is exactly to is today. Set Sort by to Due Date, which sets the order to Oldest First. This means the reminders we get from this are sorted from earliest to latest due in the day.

  12. Add another If action.

    Set the condition to has any value, and delete the Otherwise action in this.

  13. Below the newly added If Reminders has any value but above End If, add a Text action. Type something like Reminders due today:.

  14. Below Text, add a Show Result action. This automatically changes to Show Text, and the Text is the action immediately above this.

  15. Below Show Text, add another Show Result action. Tap Text, press Delete to clear it, and use a Magic Variable to select the Reminders from step 11.

  16. After the End If, add a Get Weather Forecast action.

    This automatically chooses the Daily forecast at Current Location, perfect for our needs.

  17. Add a Get Item from List action.

    This also changes automatically to Get First Item from Weather Conditions.

  18. Add a Text action.

    Type “The weather for today is” followed by a space and then add the Item from List Magic Variable.

  19. Add another Show Result action.

    This shows the text in step 18.

  20. Add another If action.

    Tap Text and press Delete to clear it, then set Input to Item from List (through the magic wand ). Tap it again so you can select Precipitation Chance. Then tap Condition (in the If) and tap is greater than. In the number field, type in 0. This now tells us if there is some chance of rain. Delete the Otherwise section.

  21. Add a final Text action.

    First let’s input the variables we need. Tap Item from List and select Precipitation Chance again, and then insert a second Item from List and change it to Precipitation Amount. Now we can type in the text around this:

    There is a Precipitation Chance% chance of precipitation. Precipitation Amount inches are forecast.

  22. Tap Next, give the shortcut a name and icon, and tap Done.

Voilà, Siri is now like Jarvis from Iron Man!

Install Daily Overview shortcut: https://alt.cc/shdo

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset