The Shortcuts app makes it possible to automate endless tasks on your Apple devices, and now you can use it on your Mac as well.