This Week's Sponsor:

Winterfest 2024

The Festival of Artisanal Software


Posts tagged with "automation"

Exporting Links from Safari Reading List via Shortcuts for Mac

Reading List Exporter.

Reading List Exporter.

A few weeks ago in the second lesson of the Automation Academy for Club MacStories+ and Club Premier members, I wrote about how I’ve been using Reminders as a read-later app in addition to traditional task management. The full details are in the story, but to sum up: using a combination of shortcuts based on Apple’s native actions, I can use Reminders to choose between long and short stories whenever I’m in the mood to read something. I love this setup, and I’ve been using it for nearly three months now.

Earlier this week, however, I realized I still hadn’t re-imported old articles from Safari Reading List – my previous read-later tool – into Reminders. That immediately posed an interesting challenge. Sure, I could manually re-save each article from Safari Reading List to Reminders, but that sounded like a chore. Other read-later apps such as Reeder and GoodLinks have long offered Shortcuts actions to fetch links from their databases and process them in Shortcuts however you see fit; Reading List, like other Apple apps, doesn’t support any actions to get the URLs you previously saved. And that’s when I had an idea.

Now that it’s available on macOS, Shortcuts can get access to application support files that are kept private and hidden from users on iOS and iPadOS. More specifically, I remembered that Safari for Mac has long stored its bookmarks and Reading List items in a file called Bookmarks.plist, which folks have been able to read via AppleScript for years. Under the hood, a .plist file is nothing but a fancy dictionary, and we know that Shortcuts has excellent support for parsing dictionaries and extracting data from them.

The plan was simple, and I knew what to do.

Read more


The Curious Case of Apple’s Missing App Integrations for Shortcuts

Shortcuts for Mac.

Shortcuts for Mac.

In researching topics for the Automation Academy over the past few months, I’ve been digging into all the details of Apple’s built-in actions and comparing them against older versions of the Shortcuts app as well as third-party options offered by developers. In doing this, I’ve realized something that has been bothering me for a while: there is a clear inconsistency between modern features in Apple apps and their associated Shortcuts actions. The gap between functionalities in apps and matching Shortcuts actions has expanded over the years, and I think it’s time Apple takes a serious look at its app actions to reverse this trend.

Read more


Apple Frames 2.0: Faster, Lighter, and Featuring Support for iPhone 13, iPad mini, iPad 10.2”, iMac 24”, MacBook Air, and Multiple Languages

Apple Frames 2.0.

Apple Frames 2.0.

Today, I’m pleased to introduce Apple Frames 2.0, an all-new version of my popular shortcut to put screenshots inside physical device frames of Apple products. The new Apple Frames, which you can download at the end of this post or on the MacStories Shortcuts Archive, has been completely rewritten so it’s faster and lighter, comes with support for the latest iPhone 13 lineup and iPad mini, brings support for framing iMac and MacBook Air screenshots, and, at long last, is available internationally in seven different languages.

This is a massive update to Apple Frames, so let’s dive in.

Read more


Automation Academy and The Macintosh Desktop Experience: Exclusive Monthly Features for Club MacStories+ and Club Premier Members

MacStories’ roots are in writing, so it’s only natural that Club MacStories+ and Club Premier are expanding beyond our weekly and monthly newsletters to offer two new exclusive features: Automation Academy and The Macintosh Desktop Experience. Freed of the constraint of an email newsletter, Federico and I will be tailoring our columns to take advantage of the new features made possible by Calliope, the web app that powers the new Club website.

Let’s take a look at what members can expect.

Read more


Shortcuts for Mac: The Future Is Now

Source: Apple.

Source: Apple.

To say we’ve followed Shortcuts closely at MacStories is probably an understatement. Federico was relying on it to run MacStories months before it was publicly released as Workflow, and today, the app is deeply embedded in every aspect of our production of the website, podcasts, and Club MacStories content, as well as the way we operate the business.

As someone who works across a Mac and iPad all day, the lack of Shortcuts on the Mac was frustrating, but something I was willing to deal with because the app was such a good fit for the way I worked, even when I had to run it in parallel to my Mac instead of on it. Going into WWDC, though, my feelings about automation on the Mac aligned closely to what Jason Snell wrote on Six Colors earlier this year. As we discussed on AppStories, the time had come for Shortcuts to be available on all of Apple’s platforms, which was why I was so pleased to see it become a reality during this week’s WWDC keynote.

Read more


The Case for Shortcuts on the Mac

Jason Snell writing on Six Colors:

The more I use Shortcuts, the more I realize that in many ways, user automation on iOS has outpaced automation on the Mac. Let me give you an example: On iOS I built a shortcut to grab the contents of selected text in Safari and open the results in a text editor—converted to Markdown, with the title of the page set as the title and its URL set as a link. It’s not remotely the most complicated shortcut I’ve built, but it’s great—and has saved me a lot of time while improving the quality of my link posts…

I love it so much, I decided to build the same automation on the Mac. The results were ugly. My Keyboard Maestro macro forces Safari to copy the selected text to the clipboard, moves to BBEdit, opens a new window, pastes in the HTML, runs an HTML to Markdown Service on the selection, then runs an AppleScript script that cleans up the results. It’s ridiculous.

This is a fantastic example of something that I’ve experienced over and over to the point where I hesitate before trying to automate anything on the Mac. As Jason points out, Shortcuts isn’t exactly easy, but I find that I usually spend the most time figuring out the best approach to a problem rather than how to implement it in Shortcuts, which is automation at its best. It’s a self-reinforcing cycle that encourages me to experiment more with Shortcuts and use Mac automation less.

Read more


Apple Frames, Now with Support for the 2020 iPad Air

Silvia's iPad Air Home Screen. Wallpaper via [Club MacStories](https://club.macstories.net/).

Silvia’s iPad Air Home Screen. Wallpaper via Club MacStories.

In the last update to Apple Frames – my shortcut to put screenshots captured on iPhone, iPad, and Apple Watch inside physical device frames – from December, I added support for the iPhone 12 mini and iPhone 12 Pro Max. Since the introduction of revamped widgets in iOS 14, Apple Frames is the only shortcut I’ve configured as a small, standalone Shortcuts widget on the first page of my Home Screen: I use it dozens of times every single day, and I can’t even begin to imagine the amount of time its image-based automation has saved me over the years.

Read more


Power-User HomeKit App Home+ 5 Adds Automation Folders, Backups, and a Fresh Design

With the release of Home+ 5 by Matthias Hochgatterer, there are more reasons for HomeKit power-users to try the app than ever before. One of the app’s strengths has always been creating automations based on device attributes that aren’t available in Apple’s Home app. That’s why I was already using Home+. However, now, the app has added a new design, folders to organize automations, Smart Groups for accessories, a Favorites view, and backups, which make the app more compelling than ever.

Read more


WallCreator 2.0 Adds Ability to Set Wallpapers, Save and Restore Favorites, Plus Automation Support

WallCreator 2.0.

WallCreator 2.0.

In September, I shared WallCreator, a shortcut to generate wallpapers for iPhone and iPad using gradients or solid colors. The first version of WallCreator allowed you to generate randomized wallpapers with just a couple taps from either the Shortcuts app or Home Screen widget. Because it was built entirely with native HTML and CSS actions, the shortcut had no external dependencies and didn’t require any third-party apps or connections to web servers. Here’s what I wrote:

Here’s the gist of what WallCreator can do: with just a few taps, you can either generate a wallpaper with a solid color or gradient. You can choose to enter your own colors (using their English names or Hex codes) or, even better, let WallCreator generate random solid colors or gradients for you.

You don’t need to worry about anything else: WallCreator will create the right version of a wallpaper for different iPhone and iPad models automatically, without having to specify any option; at the end of the shortcut, you can preview the newly-generated wallpaper and, if you like it, save it as an image to the Photos app. Otherwise, you can tell WallCreator you want to generate another image and start over.

Today, I’m pleased to announce the release of WallCreator 2.0, which has been updated for iOS and iPadOS 14.3 and Shortcuts’ new ‘Set Wallpaper’ action. Among other additions (which I’m going to detail below), WallCreator can now both save and install wallpapers on your device for you. Furthermore, thanks to the comeback of the ‘Set Wallpaper’ action, I’ve been able to create a WallCreator “spin-off” that runs as a headless automation and can change either your Home Screen or Lock Screen wallpaper (or both) on your behalf, with no manual interactions required. This is a pretty big update to WallCreator, so let’s dive in.

Read more