Introduction to Shortcuts on macOS Monterey

17:271 speaker
17:05
duration
10
chapters
8
Terms
7
Highlights
Shortcuts appmacOS Montereyautomationcross-device syncshortcut editor

Key ideas

6
  • Shortcuts on macOS Monterey uses the same action-based builder model as iOS Shortcuts and syncs via iCloud.
  • Gallery provides categorized pre-made shortcuts that are useful starting points and inspiration.
  • You can inspect a shortcut's actions via the three-dot editor to learn or modify behavior.
  • Shortcuts can be triggered in multiple ways: inside the app, menu bar, Quick Actions/Services, keyboard shortcuts, share sheet, and Apple Watch.
  • Shortcuts are customizable: name, icon, color, variables, and output formatting can be changed.

Key highlights

7
  • iOS-created shortcuts sync automatically to the Mac via iCloud and can work cross-platform if not dependent on device-specific apps.
  • Gallery categories include Get Stuff Done, Get Organized, Essentials, Work From Anywhere, each showing four items with a See All link.
  • Three-dot button opens the editor to view the sequence of actions that make up a shortcut (reverse-engineering aid).
  • Example walkthrough: added and edited the 'How Many Days Until' shortcut to display only total days.
  • Shortcuts can be pinned to the menu bar for quick access and grouped under a single menu-bar icon with a dropdown.

Decisions

2
  • Added the 'How Many Days Until' shortcut to the user's Shortcuts library.
  • Edited the 'How Many Days Until' shortcut to show output in number of days (instead of days/hours/minutes/seconds).

Terms

8
Shortcuts — Apple's automation app that composes sequences of actions to perform tasks on macOS/iOS/watchOS.
Gallery — The app view with curated, pre-made shortcuts organized by category to use as templates or inspiration.
Action — A single step in a shortcut that performs a specific operation (e.g., get current date, show result).
Variable — A placeholder value used within actions (e.g., current date, specified date, text) that can be inserted or modified.
Quick Action / Services menu — macOS mechanism to run shortcuts from Finder or application-specific services.

Main content

10 chapters · 17:05
0:00

1. Introduction to Shortcuts on macOS

Speaker A0:00

In this video, I'm gonna be giving you an introduction to the Shortcuts app, which is Apple's latest addition to Mac automation as of macOS Monterey. Now, if you have been using iOS Shortcuts, then this will probably be somewhat familiar to you. And indeed, the way that you actually create Shortcuts by building up a series of actions is exactly the same process.

Also, if you have created Shortcuts on iOS, then those will automatically sync over iCloud onto the Mac as well. And assuming they're not dependent on anything that's running on your iOS device, such as a particular iOS app or something like that, then they will also work on the Mac as well. And vice versa, anything that you create on the Mac will also sync across to iOS as well. So it is a great way to sort of combine these workflows that we've got across all of our devices.

0:42

2. App Interface and Sidebar Overview

Speaker A0:42

So without further ado, let's just jump straight into the interface, shall we? And this is basically what it looks like when the app opens up. You'll find that you are in this view, which is the gallery view, and you'll have this sidebar over on the left-hand side. If it's not showing up, then you may want to just press this little button here, which is the toggle for the sidebar. So click on that one, and the sidebar will pop out. Obviously, it's popped out to the wrong side for me, but there you go. And now you can see it.

As you can see, we've got this menu item here called the Gallery. And this over here on the sort of right-hand side, the large pane window, that is the Gallery View. That consists of a number of pre-made shortcuts that Apple has created very kindly that we can use as a starting point with automation. I'm going to come and have a look at those in a little bit more detail in a moment.

But let's just have a look at what else is in the left-hand sidebar as well. So underneath that, you'll have a section which is labeled My Shortcuts. And so you'll see these 3 headings: All Shortcuts, where you'll find all of your shortcuts that you've created, and you'll also find Quick Actions and Menu Bar Items. Now, I'll come on to those in a little bit more detail later.

Now for you, if you haven't already created shortcuts on iOS, then you may not have anything else, but I've got some here that are different folders of organization of my existing shortcuts. And I should say that also you'll see for all shortcuts, you'll see that there is potentially a number there. And that is, in my case, 49, because that is the number of shortcuts that I created on iOS that have now been synced across to my Mac. But for you, that might be zero, but don't worry about that. We're soon going to build out your list of shortcuts and get some productivity going on.

2:21

3. Exploring the Gallery and Categories

Speaker A2:21

But let's come back to the gallery view, shall we? And let's have a little look at the way that this is organized. So we've got some little articles here. So shortcuts for macOS. So this is just specific things for macOS. And then here you've got different games and things like that, those 2 headers. But for me, there's not a huge amount in there. I would concentrate more, if I were you, on having a look down here at these different categories, because here we've got a series of categories.

There are only 4 items shown in each one, 4 different shortcuts. However, there is also this little see all link here that will expand that out to all of the shortcuts that are within that particular category. So the sorts of categories we've got are Get Stuff Done, Get Organized, Essentials, Work From Anywhere. So these are things like break timers, start my next meeting, start a personal conference call, reflect on the day—always a good one. Don't forget to do that journaling at the end of the day. Morning routine. So what time do I need to leave by? Things like that.

Going through this list of shortcuts is actually a great way to get an idea of what is actually possible with Shortcuts, and it can really get the mind going to think about how you might be able to work these into your sort of daily workflow and how you may be able to get some great optimized working and productivity out of them. Some of them are also just nice-to-haves, things like maybe a coffee timer or something like that while you're waiting for your coffee to brew, whatever it happens to be.

But I'm not gonna go through all of these lists obviously, 'cause there are too many to just go through one by one. But really go and have a dig in and just look at even the titles will give you an idea of what they're doing. But you can also go a little bit deeper with all of these.

Now, if I scroll back up to the top, and we'll take this category at the top, Get Stuff Done. As I said, there are only four displayed on this particular window here. But if you click on the See All, then you'll see that it does expand it out, and it'll show you all of the ones that are within that category.

The other thing that that's done then as well is it has actually expanded it out to give you the description of each one as well. So here you can see, um, what these particular things do. So this one here turns text into audio. Uh, so there you would be able to just highlight a patch of text on the screen and have it read it to you, for example. This one here, How Many Days Until, so this is see how many days there are until a particular milestone of your choice, and so on. So you can just see what's going on in each of these. You can also click on any one of these, and it will bring up a bit more information about it.

So there you've got the same description, but here also you'll notice that this one does also work on the Apple Watch. So that's something, as well as being available on macOS and iOS, I should also mention that it's also available on watchOS as well. So there are shortcuts you can create, uh, and you can create them on the Mac and then have them working from your watch. So we could just add this into our list of shortcuts now if we wanted, just by clicking on here. But maybe we want to just have a little bit more of a dig into it before we do that.

5:17

4. Inspecting a Shortcut's Actions

Speaker A5:17

Uh, well, there is this little, uh, button up at the top of any of the shortcuts where you've got these three little dots. Uh, now clicking on that will open up a, uh, a way to examine exactly what all of the actions are within this shortcut. So a shortcut consists of a series of actions that it's going to perform whenever it is triggered. I'll come on to different ways that you can trigger these a little bit later, by the way, but this is how basically these shortcuts are built up.

So in this case, it's going to take some text, it's going to take a specific specified date, and then it's going to get the time between that, the current date and that date, and then it's going to show us the result related to the text and the time between those two dates as an output. A lot easier for me to just actually demonstrate this to you, but that is basically just a great way if you want to actually dig into what's going on.

So remember these three buttons at the top, these three dots I should say at the top, click on that, and you'll be able to just sort of examine exactly what's going in. So a great way to reverse engineer these shortcuts and figure out how you want to build something yourself. But let's just actually add this one in, shall we? So I'm going to add this shortcut.

And here it's prompting me for a couple of bits of information in order to set up the shortcut. We're only gonna have to do this once, but then in this case, but then once it's done, we'll just be able to trigger this and I'll show you how we can do that in a moment. So what it's asking me for is, bear in mind, this is How Many Days Until, that's the name of this shortcut. So it's saying, when is the event you are counting down to?

So let me just pick a totally arbitrary day. The 3rd of May happens to be my birthday. So I'm just gonna type 3 May there. Now I could put a specific year. If I wanted to count down to my 50th, 60th, 100th, whatever it was, then I could put the actual year in there as well. But if you just leave it blank and just put the day and the month, then it will count down to just that month every year or that date every year.

Now, what is the name of the event? Well, it is my birthday, so I'm just going to type that in there. And now I'm going to click on Add Shortcut, and that is it. We've set up that shortcut. So where do we find that now? Well, you'll notice that this number of shortcuts has now gone up to 50.

7:26

5. Managing and Customizing Shortcuts

Speaker A7:26

So if I come into the All Shortcuts, you can, by the way, drag these around to organize them. There are other ways to do that with folders and so on, so I'll come into that a little bit later. But when you create a new shortcut, it will just default to coming right at the top left here. So you can see here, How Many Days Until— this is the new shortcut we've just created, and it's just popped up to the top there.

If you want to color code these, by the way, you can just right-click on them and change the color and icon. So this one has got an icon in the top corner which is a little calendar. You can see that all of these have got some form of icon in them. And the actual tile itself is a specific color as well. So I can edit the color and icon, and I could come in here and let's say I want to make this one red, for example.

And then let's say you want to change the icon, you could make this whatever you want. And not sure I can pick up a birthday cake just straight away out of there, but let me just pick something as an example, just to show how easy it is to change. So I'm just gonna pick that icon, and there you see we've changed it to red with a little sunshine icon because I'd like to think it always shines on my birthday.

But in any case, if I click on the little play button now, so this one is going to trigger it. You can notice as I hover over them, it's got this little play button symbolizing that this one is available to trigger. So if I click on that, then what's happened is it's just brought up this little popup window over here, and it says, "My birthday is in 2 months, 16 days, 21 hours, and 16 minutes." So that's very good. I'll be using that every day just to count down the days, of course.

8:55

6. Editing Shortcut Logic and Variables

Speaker A8:55

But maybe I want to edit that because that did give me quite a lot of information. I don't think I need to know it right down to the second. So let's just use this as an example of how we can actually go and edit any of these. So all I'm gonna do now is if I just click on the shortcut, so I'm just gonna double-click on it, not on the play button, on the actual action itself, the shortcut itself rather.

And now this has opened up the editor. So this is a second window, and this one is where we are gonna edit this particular shortcut. You can change the title. So this is how many days until, that's just the default title of it. But let's say I'm going to count down to lots of different days, so I might want to just be more specific here, and I could just call this one "Days until my birthday." There we go.

And what this is doing is it's got some variable which is a bit of text. So this one, in this case, is what we specified at the beginning, my birthday. So there we're actually specifying some text. Then the next thing is we're looking at a specific date, and this is called specified date, and the date of that was the 3rd of May.

And then what it's doing here is it's actually performing this little action. So getTimeBetween the current date—so current date is a variable that it can just pull out and say like, "What's the date today?" So it's getting the time between that date and the date, which is this one here, and then it's looking at that in the total time.

And then what it's doing for the output in this show part here is it's created this little pop-up with this little output, and this is outputting text. And then it's, so the text is this part, my birthday, and then it's saying is in, and then it's adding in this variable, the time between the dates. So that's where we're getting "My birthday is in," and then the total time where it gave me the time in days, minutes, and seconds and whatever.

So let's say I want to change this, and instead I just want it to be in a specific number of days. Well, I can come in here and I can click on this total time, and instead of being in total time, maybe I want to come down here and just change that to days. So that's now going to give me a number of days.

And so in this output, what I want to do is I just want to add in the word days at the end. So it's going to have "My birthday is in," and then it's going to count the number of days. And then at the end here, I'm going to just come in here and—whoops-a-daisy, don't see that—I want to just come in here and edit this bit, and I'm going to put days like that. So I'm just going to type that in manually.

Now when I run this one, what you'll see is it's popped up, and instead it's reflecting that change that we've just made. So now it says, "My birthday is in 75 days." So that is how we can go in and edit these things. Don't worry about all of these different things in terms of variables and all that sort of stuff. I am going to come on to those in a later video as well.

I'm just showing you the principle that once we've got a specific shortcut, we can go in and sort of analyze it. We can tweak it. We can change it to be whatever we want. And in fact, you could add in a whole series of other actions here.

11:58

7. Browsing Available Actions

Speaker A11:58

So over on the right-hand side, I had to think about my left and right there. Over on the right-hand side, we've also got a way to add in other actions. So you've got all actions related to different things. So you can add in calendar events, all those sorts of things. This is another great way, by the way, to just get an idea of what's possible with Shortcuts is to just go into this editor here and then go to all actions.

And then you can just sort of scroll down this list. And as you can see, it's really quite a long list of all the potential actions. So you can get an idea of the sorts of things that you might actually be able to do within your automations and within your shortcuts.

12:37

8. Triggering Shortcuts (Menu Bar, Quick Actions, Keyboard)

Speaker A12:37

So let's say that I'm happy with that. I just want to be able to show "My birthday is in 78 days" or however many days it's in. So how are we going to trigger that? Well, we can obviously do that from within the Shortcuts app. As we've seen, we can open the Shortcuts app, and we can come and we can press the little play button next to the thing, next to the shortcut.

But of course, as you start getting more and more of these, then you're not going to want to go in there. It sort of defeats the object if you're having to do that all of the time.

So how can you actually trigger these? Well, when you come into the editor, then you've got this little section on the top menu bar, and this is the shortcut details. And when you change to that, you've got a few different options. So you can pin the shortcut into the menu bar. What that will do is it will add it up into the menu bar. So we've got a little shortcuts icon just there in the menu bar. And if I click on that one, you'll see that it's got all of the shortcuts that I have assigned to the menu bar feature there. So only one at the moment. And if I did have multiple ones, then it'd just still be that one icon, but just with a dropdown with all of those different shortcuts. And then you can trigger them from there.

So I could click on that, and that is now going to activate that shortcut. And sure enough, if I come back to this view again, then here we go. We've got the output: my birthday in 75 days. So that has been calculated from the click into the menu bar. That still might not be very relevant for all of the shortcuts that we're using.

So there are some other options. So here we've got "Use as a Quick Action," and it will default to this one. So we can either use it from the Finder or the Services menu. The Services menu is a way to create different shortcuts and then trigger them from within certain applications.

So if I come over to the Notes app, for example, and I'm just going to share my screen again, and I'm just sharing now, this is actually my Ecamm Live window. But here, if I come into Notes, then you'll see here we've got this Services menu, and there you can see that shortcut has been added in there. So you will have some that work well for specific applications, and so you may want to have them in that particular Services menu.

There are a couple of other options though as well, and one of those is to have it work with a keyboard shortcut. So we'll click on that keyboard shortcut there, and you can just assign a keyboard shortcut to it. So I'm just going to assign something a little bit random. There we go. Hang on a minute. It's obviously not liking that. There we go. I'll put that one.

So now if I just click out of there and I click on that keyboard shortcut, then sure enough, it has just triggered that little shortcut again. So those are the different options. You've also got, if you want to have this shown in a share sheet.

15:16

9. Visibility, Share Sheets and Permissions

Speaker A15:16

So a share sheet in iOS is where you want to share something and you want it to go to a particular place. Well, maybe you want to perform actions, for example, like on an image or something like that. And so you want to include this in iOS so that you save an image and you want to have you click the share sheet action to be able to do something else with it and have these actions that you're creating, these shortcuts you're creating rather, be available on iOS.

So here, as you can see, you've got ways to allow it to work on iOS, and you're specifying where it will work. And here as well, show it on the Apple Watch so you can decide whether you do want it on there or not, because obviously you don't want a load of stuff on your Apple Watch if it's not going to be useful.

So this is where you can just have a look at the visibility. There is also a privacy setting. If you have needed to give it access to particular apps or things like that, then those will all feature in here, and you'll have to grant access to things like that, or if you're doing screen recordings or something like that.

So this is where you have a look at the permissions that basically this particular shortcut has, and you can revoke those from within here. And then you've got a couple of other things to do with the setup. So this is basically the—if you remember when I set it up, what was the date and the text? So here is where you can add in other fields and customize the shortcut.

So this is all within this section here, the shortcut details. And that is basically how we can play around with these to look at how they're working. We can add in different actions and things like that.

16:46

10. Next Steps and Wrap-up

Speaker A16:46

What we're going to be doing as we go forward with the future videos is I'm going to be basically building this out so that we can look at some other examples of how we might go about building our own actions and using some of the components that we've got in here to then go on to build something a little bit different.

Now I'm going to leave a link to the next video in the series over on that side, so do check that one out, and let's get straight into the next video.