My Favorite Keyboard Maestro Macros

I got a request to share my favorite Keyboard Maestro macros and so I put a few of them together here. Keyboard Maestro (KM) is a Mac app that allows you to create complex automations to control your software in almost any way imaginable. It’s incredibly powerful, but it can also be useful even in simple ways.

I should note that while I developed some of my macros from scratch, others were shared by other users and I’m using them now or have adapted them to my use. I also have, no kidding, 181 macros so I won’t be sharing them all. Here are some of my favorites.

I use a KM palette to access several frequently used macros at the press of my caps lock key.1 If you have multiple macros have the same hot-key as the trigger, KM will pop up a little window to let you select which one you want. My actions including Omnifocus action, which opens another palette with common Omnifocus actions; Activate Moom, a window management utility; Omnifocus – Quick Add, for creating a new to-do; Invoke PopClip, Trigger Macro by Name, invokes any macro by typing its name; Move active window to center of iMac display, which because I multiple monitors will move whatever window is frontmost of any of the monitors to the center of my main iMac display; and Fix URLs, which if invoked in Ulysses changes Markdown format URLs to Ulysses native links and if in BBedit, changes them from a specific way that Jimmy Akin types them in Word docs into HTML format2.

Another frequently used macro will take the currently active browser tab and extract the Page Title and URL and format it as Markdown — [Page Title](URL) –for pasting in any number of places. Because each browser handles this differently I have separate macros for each one and then have specified they’re only active in that particular browser. But since they all have the same hotkey, I can just invoke the macro and the correct macro is always chosen.

Macros can also be invoked by changing conditions, such as the detection of a USB device, so when I turn on my mixer, this simple macro launches Audio Hijack and then starts an Amphetamine session for 3 hours to keep my computer from going to sleep while I’m recording.

This next one was inspired by Dr. Drang. This set of macros will take the currently active tab in the current web browser and open it in another. For example, my default web browser is Brave, but I usually want to use Apple sites in Safari, or vice versa.

I’ve recently started using an El Gato Stream Deck and I’m just figuring out how to use it best, but one thing I’ve done is create KM macros for certain Adobe Audition audio editing actions that usually require multiple keypresses and then assign those to Stream Deck keys.

 

This is one of my most recent ones. It works with my Philips Hue Smart Sensor to suggest when I should turn up the heat or AC in my office (which tends to be either too hot or too cold), because I often don’t realize until I’m either freezing or sweating. It checks the outside temperature via the Dark Sky weather service then gets the temperature as reported by the Hue sensor in the office. The two temperatures are compared and if the conditions for winter or summer are met, it gives me the appropriate prompt through a notification.

That’s probably enough for now. If you want to dig deep into Keyboard Maestro, I recommend David Sparks’ Keyboard Maestro Field Guide, which is a video course that will take you from the basics to advanced concepts of KM.

And if you would like specific help with implementing any of these macros yourself, let me know in the comments.

  1. I very rarely used my caps lock for its intended use so years ago I remapped it to the Function-18 key (which isn’t a physical key on most keyboards) so then any macro that has F18 as the trigger key will be on the palette.
  2. This has to do with our podcast Jimmy Akin’s Mysterious World

Using Hue motion sensor temperature with Geektool and Keyboard Maestro

One part of our smart home setup is our Philips Hue lighting system. Over the years I’ve replaced many of our old light bulbs with Hue smart bulbs in various fixtures, which allows us not only to control the lights with automation and schedules, but also with our voices using Alexa and Siri. We can also group control of them through compatible switches without having to rewire what’s in the walls.

Philips also makes a motion sensor, which is great for rooms that don’t get a lot of traffic during the day, meaning that the lights go off when no one’s using them or where people often forget to turn them off. I have one of these sensors in my office and another in the pantry/laundry room. What’s nice is that these sensors also have thermometers in them, which means I can track the temperature in the rooms. Unfortunately, to find out out what the temp is, you have to open either the Home app or the Hue app to find out. Unless you do a little home programming.

I wanted to have the current ambient temperature of both rooms to be constantly updated and displayed on my desktop and, also, to get notifications if the temperature gets too cold in the winter or too hot in the summer and I might want to turn on the heater or the air conditioner to adjust the temperature.1

Read More and Comment

Using Zapier to Setup Omnifocus Projects from AirTable Entries

As you may know, I produce about a dozen different podcasts, most of them weekly, and keeping track of all the tasks of pre-production, recording, editing, distributing, and promoting them is challenging for a one-man operation like myself. Some shows I host, while others have their own hosts. Some shows I edit, while some have their own editors. It’s a lot of moving parts and if I don’t track every step, it could quickly fall apart.

I use Omnifocus, a Mac-based application, as my project management tool of choice and that’s where I keep all of the individual tasks that need to be checked off. Meanwhile, I use AirTable, a web-based database, to keep track of the shows, their episodes, who’s involved, and what stage of production they’re at, among other things. Since the steps to produce an episode of each podcast is pretty much the same every time, that means this process is ripe for automation. What was missing was a way to connect the AirTable and Omnifocus parts of the process because I was finding that I’d enter an upcoming episode of a show in AirTable and forget to setup the Omnifocus project. I needed some way to trigger the project creation from the first step of a new episode. Enter Zapier. Read More and Comment

Tesla Solar Panels: One Year Later

I wrote a long post last year about our saga getting solar panels installed on our house and approved for activation by the local electrical utility.1 While the panels were installed in the spring of 2018, we weren’t able to turn them on until August 2018. So one year later, how is it going?

Pretty awesome, to be blunt. In July 2018, our last full month on the grid, we used about 1 ,200 kWh of electricity from the utility, costing us about $286 in charges2.

This July 2019, our solar panels covered all of our electricity usage (in a massive heat wave) and generated an excess of 500 kWh to put back in the grid, generating a credit of $100. The Tesla solar panel lease is about $130, meaning we paid about 1/10th the amount for electricity this July over last.

Our current total credit balance for the year is about $450 so far and if current trends match last year’s, we should be on track to cover most, if not all, of our winter usage.3 I am very, very happy with this.

Read More and Comment

Completing Crossword Puzzles on iPad with Apple Pencil

I’ve long been a crossword puzzle fan. When we were first married, Melanie and I would do the puzzle at dinner together as a fun couple activity. But as children came along that became impossible to continue at dinner. And then when I quit getting the physical newspaper in favor of a digital version, I gave it up entirely. But last year, when I started working from home, I decided to start doing the crossword during lunch during the week and on Sundays during brunch. At first, I printed them out from the digital newspaper and used a pencil, but that used too much paper and ink and seemed wasteful. But what if I could do the puzzle with my Apple Pencil on iPad?

Sure, there are plenty of crossword puzzle apps for iPad, from ones of questionable value up to the New York Times daily puzzle, but they all seemed overkill since I already had a newspaper subscription and they all used frustrating keyboard interfaces for completing them instead of the natural writing of the Pencil. So here’s what I did, first in my description of the steps and then with a video to illustrate.

First, I subscribe to the Boston Globe e-Paper1. Yes, the Globe website has a puzzle, but it’s not downloadable; it’s the same “complete it in a window” as the ones I didn’t want. However, the e-Paper is available both as an app in a web browser and as iOS and Android apps.2

Second, you should own the GoodNotes app for iOS (and an Apple Pencil). This is an excellent writing and notetaking app that is useful for a lot more than just this puzzle function, but it’s part of my workflow here.

Second, I open the app each day, go into today’s edition and go to the comics section.

Third, I tap on the crossword itself, which opens it in Article view, which is a full-page view.

Fourth, I hit the Print icon in the top right, but I don’t print it. This part is key: Do a reverse-pinch3 in the print preview window in the middle of the screen. This will open another screen that will have a Share icon in the top right.

Fifth, tap the Share icon and the Share sheet will open. If you do not see an option to “Copy to GoodNotes” on the top line here, keep scrolling to the right until you do. Tap on “Copy to GoodNotes.”

Sixth, GoodNotes should now open. If this is the first time doing this, you can import the puzzle as a new document. On subsequent imports, you can choose to import into the same notebook. If that notebook is open, you can append it right to the end or you can “Change Location” and select the correct notebook to append to.

Seventh, you are now ready to complete your puzzle. Obviously, unless you have a very large iPad, you will need to pinch and zoom to read the clues and write in the little boxes, but that’s what iPads are good at. Frankly, it’s superior to pencil and paper puzzles since when I erase, it never smudges and I can always ensure it’s at least legible as my handwriting allows.

Obviously, this can work with any puzzle (or any document that you want to write on really) as long as you have a way to print it on iOS. Once you have it in the print dialog, then turning it into a PDF that gets sent to GoodNotes is the key.

Enjoy!

  1. This is the first caveat: You have to be a paying subscriber. Support local journalism. Read the paper.
  2. Second caveat: the iOS app is of spotty quality. Sometimes they forget to format it correctly so one of these steps doesn’t work. In that case, I have to use the website to “print the PDF”.
  3. Reverse-pinch: Place two fingers (thumb and forefinger usually) together on the screen and then move them apart, like you’ve got some taffy on your fingers and you’re stretching it.

My Podcasting Workflow: Research and Preparation

I’m sometimes asked about my podcasting workflow, how SQPN goes about recording, editing, distributing, and promoting our shows. This is the second in a series of posts that explain the multiple steps that take me from the beginning to the end of the process for each show we produce. The first post described my hardware setup.

Before I record a podcast, there’s a certain amount of work that needs to be done. I keep track of all our shows and the individual episodes and where they are in the process using the relational database tool AirTable. The database is broken down into a series of views either by show title or specific filters like “In the edit queue” or “in the release queue”.1

AirTable

Each record has the episode title, episode number, the date and time that the recording is scheduled (if any), the release date of the show, current status (i.e. idea, scheduling guests, recording scheduled, edit queue, posting scheduled, posted), series title, assigned editor, host, guests/co-hosts, episode description, editorial notes, link to the episode on the SQPN site, and then specialized fields related to particular shows (e.g. which Doctor is it, the Doctor Who season, Doctor Who or Star Trek original air date; the Mysterious World category; the Star Trek series and season, etc.) There’s also a database of the podcast panelists and guests and their contact information as well as databases for tracking the picks of the week for The Secrets of Technology and Let’s Talk.2

Read More and Comment

Going iPad Only is Stupid

iPad on top of MacBook Pro

Sorry for the clickbait headline, but this does encapsulate some of the frustration I’ve been feeling lately. I listen to a lot of Mac/iOS/tech podcasts and read a lot of blogs in that space as well and one of the common trends I’ve seen lately is how many people have declared that the age of the PC is over and that the new touchscreen tablet era has begun.

Time and again, I see these pundits exclaim that they have eschewed their Macs, with their clunky keyboards and massive screens in favor of the simplicity of a touch interface and Apple Pencil, which has simplified their workflows and allows them to focus on getting their work done. Sure. Perhaps. But it sounds like a lot of hipster baloney to me.

I’m no neophyte with technology, but whenever I try to do my work on an iPad instead of my Macs, I feel like I’m trying to swim through a pool of pudding with one arm tied behind my back. It’s not that I can’t do my work there (although there are some things that are still not possible on an iPad), but that trying to do it there takes longer and is harder. So why do it? To prove a point? Read More and Comment

My Podcasting Workflow: Hardware Setup

Dom sitting at his desk with his computer gear

I’m sometimes asked about my podcasting workflow, how SQPN goes about recording, editing, distributing, and promoting our shows. Right now, for the most part, this is a one-man operation. However, we’re growing to the point where I’m going to need to start bringing on some help and handing off some of these elements to other people. So what follows is a series of posts that explain the multiple steps that take me from the beginning to the end of the process for each show we produce. The first step involves the hardware setup.

My office at home is where I do my podcasting. I have a big Ikea desk on which sits my computer and a second monitor and microphone. Actually “sit” isn’t technically true. Both the 27″ iMac and the 27″ secondary display are on separate swing arms that allow me to move and reposition them independently as needed. On a small rolling cart to my right sits my Mackie ProFX8 mixer. It’s a bit overkill for a single microphone setup, but I anticipate doing multiple microphone recordings in my office in the future and this will work well for that. The Mackie is connected to my Mac via USB.

My microphone, an Audio-Technica ATR2100, is connected via XLR to the mixer through a Cloudlifter CL-1 microphone pre-amplifier. The microphone hangs off of a Rode PSA1 boom arm and a shock mount along with a pop filter.

Hanging from an Elevation Lab AnchorPro headphone hook under my desk is my Audio-Technica ATH-M50x headphones which are directly connected to my iMac’s audio-out port.
Read More and Comment

Gen Xers Reliving Apple II Nostalgia

A guy about my age found his old Apple IIe in his parent’s attic, posted his nostalgia on Twitter, and got the world agog about his 30-year-old computer nostalgia. I have to admit, I’m nostalgic too.

John Pfaff tweeted about finding the computer and then followed with a series of tweets and photos of the computer running various old programs from the floppy disks that still worked.

I’ve written before about my history with Apple computers, and I would love to go back and see some of those great early computers we had. I would love to have that Apple //c or Apple IIGS again and all that great software. Pfaff plays with some of the software I used back in the day, including Olympic Decathlon. Happily, you don’t need to find an ancient, still running Apple II computer to revisit that old software as the Internet Archive has a lot of it online and usable in a browser-based emulator. However, it won’t uncover the old personal files, like the letter from his late father that Pfaff found.

But it can still be a fun walk down memory lane. I do wish I had that Apple IIGS though.

Next Page →