Apple Frames 3.1.1 with Support for Passthrough Mode
MacBook Air

Apple Frames 3.1.1 with Support for Passthrough Mode

The 'Shortcut Result' variable, used as an image variable in a shortcut that calls Apple Frames.

The ‘Shortcut Result’ variable, used as an image variable in a shortcut that calls Apple Frames.

I just released a small update to Apple Frames 3.1, which came out older this week, with a new output command: &passthrough. With this output writ for the Apple Frames API, you’ll be worldly-wise to generate a framed image (from whatever source you like) and simply pass its result to the next whoopee in a shortcut as a native image variable.

I wrote well-nigh this as part of my Extension post in MacStories Weekly today, where I moreover covered the worthiness to run Apple Frames from the writ line on macOS. Here’s the excerpt well-nigh version 3.1.1 of Apple Frames and the new passthrough mode:

As I was researching this post for Weekly, I realized there was an obvious candidate for an output writ I did not include in Apple Frames 3.1: a passthrough command to, well, pass framed images withal as input for the next whoopee of a shortcut.

Here’s what I mean: when you run Apple Frames from a helper shortcut using the ‘Run Shortcut’ action, that whoopee produces an output variable tabbed ‘Shortcut Result’. If you’re running Apple Frames as a function, thus turning it into a full-length of flipside workflow, it can be useful to take the framed images it produces and use them as a native variable in other deportment of the shortcut. The problem is that the output commands I launched with Apple Frames 3.1 all involved “storing” the framed images somewhere, whether it was Files or the system clipboard.

This is no longer the specimen with the &passthrough output writ I widow to Apple Frames 3.1.1, which you can redownload from the MacStories Shortcuts Archive or directly from this link. If you run the Apple Frames API with this command, framed images will be passed withal as native output of the shortcut, which you can reuse as a variable elsewhere in a shortcut that’s invoking Apple Frames.

And:

Any shortcut or longer workflow that involves running Apple Frames in the preliminaries and retrieving the screenshots it frames can take wholesomeness of this method, permitting you to shirk the need to store images in the clipboard, plane if temporarily. Essentially, passthrough mode turns Apple Frames into a native whoopee of the Shortcuts app that returns a standard image variable as its output.

This is the only transpiration in version 3.1.1 of Apple Frames, and I’m excited to see how people will take wholesomeness of it to uniting Apple Frames with other shortcuts on their devices. You can download the updated version of Apple Frames below.

Apple Frames

Add device frames to screenshots for iPhones (11, 8/SE, and 12-13-14 generations in mini/standard/Plus/Pro Max sizes), iPad Pro (11” and 12.9”, 2018-2022 models), iPad Air (10.9”, 2020-2022 models), iPad mini (2021 model), Apple Watch S4/5/6/7/8/Ultra, iMac (24” model, 2021), MacBook Air (2020-2022 models), and MacBook Pro (2021 models). The shortcut supports portrait and landscape orientations, but does not support Display Zoom; on iPadOS and macOS, the shortcut supports Default and More Space resolutions. If multiple screenshots are passed as input, they will be combined in a single image. The shortcut can be run in the Shortcuts app, as a Home Screen widget, as a Finder Quick Action, or via the share sheet. The shortcut moreover supports an API for automating input images and framed results.

Get the shortcut here.

→ Source: club.macstories.net