
For my Safari-based shortcuts that extract information from selected text in the browser window, I took a chip from John Voorhees of MacStories and shifted to Services.
#MARSEDIT MAC OS 11 MAC#
Since the Mac doesn’t have a proper Shortcuts-savvy share sheet, you’ll need to get input into your shortcut by some other means on the Mac side. (For more complex conditionals, you’ll need to explicitly set variables or build a list and output that, then parse it.) Problems with input So if you want to pick up a single piece of output from your If statement, you can select the output of the statement as a Smart Variable and it’ll be the right one on each platform. Here’s a nice tip: The output of the End If block is the output of the final block in the conditional. All your Mac-specific commands go between If and Otherwise, and all your iOS-specific ones go between Otherwise and End If.

You’ll see that Shortcuts automatically creates two more blocks: Otherwise and End If. Then set the rest of the conditional: is Mac. Click on Device Details, then scroll down and choose Device Model in the Get area of the resulting pop-up window. Shortcuts helpfully lets you control-click on the text area to the right of If and choose Device Details from the resulting pop-up. The most important trick in building cross-platform shortcuts is to wall off platform-specific actions inside an If block. Here are some tips and tricks that I’ve learned along the way. Safari’s automation interface is, similarly, not nearly as friendly on the Mac as on iOS.īut will that stop us? No! This week I’ve converted several of my shortcuts to “universal” versions that run on both macOS and iOS. The Mac’s version of the Share menu is not nearly as sophisticated as the one on iOS, and the Share menu is a major launching point for iOS shortcuts. While you might have rightfully assumed that not everything that works in Shortcuts on the Mac will work in Shortcuts on iOS-AppleScripts, shell scripts, and the like simply don’t exist on that platform-it might surprise you to learn that the reverse is also true. Now that Shortcuts is on the Mac, there’s no need to replicate shortcuts from iOS using those technologies! Instead, the same shortcut can run on both platforms.

Shortcuts has arrived on the Mac with macOS Monterey, and while the new Shortcuts app is pretty weird, it works-and it brings most of the functionality from Shortcuts on iOS along with it.Īs I’ve written about before, building Shortcuts is frequently much easier than building similar workflows on macOS using AppleScript and Automator. This requirement is mentioned in other area's.As seen on my Mac: Two cross-platform shortcuts.

Members interested in writing Mac-Forums blog articles just need to let us know.and we will set them up with a Blog account. The cool thing about a member using their real name for the blog article author.then a members family, friends, co-workers, etc.when they "Google" a members real name.these articles will come up in Google Search results.Ĭall it a bit of lasting "fame", notoriety, recognition, etc for a job well done. The blog account username is will be the members author-name for all blog articles. If someone wanted to use a different "pen-name".or use their real-name for blog articles. The downside for a member using their current Mac-Forums username for this blog account.
#MARSEDIT MAC OS 11 PASSWORD#
Once this blog account is created.a member can set things up to have the same username & password as their Mac-Forums "forum" account if they wish. A separate Mac-Forums blog account is needed to access that area.
