Menu Close

Tag: automation (page 3 of 4)

macOS Mojave: the Automation Angle →

John Voorhees writing for MacStories:

My hope with Quick Actions is that they are the first step in a ground-up re-imagining of automation on the Mac where Quick Actions become the equivalent of shortcuts on iOS and Automator is replaced by something closer to the Shortcuts app on iOS. Automator has served Mac users well for years, but it doesn’t take long using Automator before you need to resort to scripting inside Automator workflows to get things done. Shortcuts supports scripting too, but I’ve found I can create far more complex automations on iOS without resorting to scripts, which makes it accessible to more people.

Dark Mode is the new feature in macOS Mojave getting all the attention, but I’m most interested in Quick Actions. I agree that seeing a tool like Shortcuts on the Mac would be nice, but the ability to run AppleScript in Automator brings all sorts of possibilities to Quick Actions. For example, I’m no scripter, but I regularly use a very basic AppleScript to launch Keyboard Maestro macros from Automator. Once I upgrade to Mojave, I’ll be seeing if I can get some of my Keyboard Maestro macros working through Quick Actions.1


  1. I need to hold off on updating, since I rely on Mail Act-On, which won’t be ready for Mojave (as part of a new Mail app suite) until October.


Understanding Shortcuts in iOS 12 →

Matt Birchler writing for Birchtree.me:

I’m seeing a bunch of people saying Shortcuts are a power user-only feature. “No normal person will ever use these!” In their WWDC keynote, I think Apple leaned too hard into what Shortcuts can do for power users, and people lost the message that these are something users will benefit from even if they do zero work to set them up. Let me explain.

This is the best and most understandable overview of the Shortcuts feature coming in iOS 12, and explains how even “regular” users can utilize them. The article is worth a full read. If you aren’t someone who gets excited about the news coming out of Apple’s World Wide Developer Conference, you may not have heard about Shortcuts, an upcoming automation tool/framework/feature in iOS 12. Birchler also has a podcast on the topic that is next up in my feed.


Finder’s Stationery Pad Feature – How Is This Not More Well Known? →

Tim Hardwick, writing for MacRumors:

Stationery Pad is a handy way to nix a step in your workflow if you regularly use document templates on your Mac. The long-standing Finder feature essentially tells a file’s parent application to open a copy of it by default, ensuring that the original file remains unedited.

Follow the link for a way to set any file on your Mac to be a template file, so you don’t overwrite it. I don’t feel bad for not knowing about this trick, since I’ve never heard it discussed, and since the name doesn’t really describe what it does. On the other hand, I feel stupid for never wondering what that checkbox does. This will be very handy for automation tools like Keyboard Maestro.


Automatically Save Mail Attachments Using Automator and Keyboard Maestro

I have set up my firm’s case management system to email me three reports every Sunday evening. These reports arrive as attachments to email. For several months, I’ve been coming in on Monday morning and dragging those reports out of Mail and into Unclutter, which I keep in my Mac menu bar so I have easy access to certain files. I recently decided I would automate this process.

Looking around online, I found several AppleScripts purporting to accomplish this, but I wanted to see if I could accomplish this with Keyboard Maestro. I ended up doing it with Keyboard Maestro and Automator.

My Automator workflow, as depicted below, is pretty simple. It finds any email in my inbox that meets two conditions:

  1. The subject of the email must begin with words that are specific to the report emails; and
  2. The emails must have been sent in the last two days.

If those conditions are met, Automator gets the attachments from those messages and saves those attachments into the same Dropbox folder used by Unclutter to hold files. (I don’t know if I actually need the second step in the workflow).

Automator Mail Attachmentn Workflow

Then it was simply a matter of setting up a Keyboard Maestro macro that would launch the Automator workflow every Monday before I arrived at the office.

Keyboard Maestro trigger for Automator

The final step for me was to create a rule in Hazel to monitor Unclutter, and clean out old reports every week.

Hazel rule to clean out reports

Caveat: I just set up this system yesterday, and forced it to run out of its normal schedule. It worked fine. I’ll see this Sunday evening whether it runs on the schedule I designated.

Here are links to the Automator workflow and Keyboard Maestro macro:

Automator workflow

Keyboard Maestro macro


Hey, things:/// →

 From the Cultured Code blog:

Things 3.4 has just hit the store with three fantastic new features: Linking to Things, Powerful Automation, and Handover from other apps – all made possible by our brand new Things URLs.

Wow. From hooking Things into Drafts, Workflow, Launcher, Mindnode, and more, the possibilities of this are exciting. Things used to be the app that was beautiful, but not as powerful as OmniFocus. Now . . . we’ll have to see after everyone has played with these new features for a while. I’ve been working on a video on using Things and DEVONthink together. This might require me to rework a few things.