Create a Desktop Applet to Execute Keyboard Maestro Macros

The one trigger Keyboard Maestro doesn’t have is one that will execute a macro from the Finder. This is a quickie script I created that will take any selected Keyboard Maestro macros and drop an Applescript applet on your desktop to fire those macros off.

Fans of macro recursion might enjoy creating a macro to run this script and then use that macro to create an applet to create more applets.

Download: Create Applet to Execute Macro.zip

Written on July 24, 2015

Quickly Execute Selected Keyboard Maestro Macros

Keyboard Maestro doesn’t have an easy way to try macros from within the macro browser window. The only way to test one is to edit, select all the steps, and click the “try” button.

This Applescript simply executes one or more selected macros. If any of the macros are disabled (including if they’re in groups that aren’t enabled due to conditions), they will fail to run.

You can turn this into a Keyboard Maestro macro for hotkey access.

Download: Execute Selected Macros.applescript

Written on July 24, 2015

A "Hyper" key with Keyboard Maestro

A "Hyper" key with Keyboard Maestro

Wouldn’t it be nice if you had one modifier key for all your macros?

Brett Terpstra and Steve Losh have extolled the benefits of using the caps-lock key as “hyper key” to trigger macros. I’ve attempted to implement it, but the need to run two separate hacks (even before running macros!) has scared me away from doing it myself.

Keyboard Maestro to the rescue! With Keyboard Maestro a little AppleScript and a checkbox, you can create the “hyper key” without any low-level hacks. Here’s how:

First, disable caps lock in the Keyboard system preference. It’s a checkbox under “modifier keys.”

Second, click the link above to download the Keyboard Maestro macros and import them.

What these macros do is use the “device trigger” to identify the caps-lock keypress. It then runs an AppleScript to hold the keys down. When the caps lock key is released, so are the modifier keys.

There are three minor “gotchas” with this method:

1. Since this is a device key trigger, you’ll need to edit the macros and add a separate device trigger for each keyboard you use.

2. If the macro gets interrupted somehow, you can end up with the modifier keys being stuck down. To work around this unlikely event, the hyper-up command is available in the Keyboard Maestro status menu.

3. There is sometimes a small lag between pressing caps lock and the modifiers being “pressed.”

Written on September 4, 2013

Control Google Music from Keyboard Maestro

Control Google Music from Keyboard Maestro

Get the same keyboard control over Google Music that you’re accustomed to with iTunes!

This is a set of Keyboard Maestro macros that will give you the ability to play, pause, and skip tracks in Google Music. Macros are provided for Google Music running in Safari, Google Chrome, and in a site-specific browser made with Fluid.

In order for the Fluid macros to work, the SSB must be named “Google Music,” or the macro will need to be edited.

Written on June 11, 2013

The Bittersweet Demise of Google Reader (or Why I Don't Care About Dave Winer's Whining)

I was going to rant about Google Reader being killed and about how Dave Winer’s post was nothing more than anti-Google screed. Then I realized it didn’t matter.

Despite the fact that for the past 7 years (give or take), I have relied on Google Reader to deliver a deluge of news from some 600 different sites, I haven’t actually used Google Reader for the past two or three years.

What I have used is a cavalcade of great RSS readers: NetNewsWire, Reeder, Press, JustreaderNetVibes, Byline, and at least a dozen others. Each of these offered a better experience, worked with other services I rely on, like Instapaper, Evernote or Pinboard, and often had other nifty capabilities, like offline reading.

What all these readers had in common was that they synchronized feeds with Google Reader. None of them had to, but it let me keep all my feeds in sync across multiple devices, which was key. (An added bonus was that it made it easy for me to try out all these different RSS readers – not that an OPML export/import is really a killer.)

As it happens, I’ve found myself using an excellent RSS reader, Feedly, on my desktop, and on my tablet, and on my phone. It can be Flipboard-pretty or Google Reader-functional, and I just like how it works. It syncs, too. I thought the sync was all managed with Google Reader, but as it turns out, Feedly has its own sync engine and just kept that in lockstep with Google.

(In fact, Feedly’s giving other developers access to their syncing database with a clone of the Google Reader API so third party apps can keep rolling along without interruption. Clearly Feedly’s home to a lovely group of people.)

So it turns out I won’t actually miss Google Reader at all. Somehow that’s even more disappointing to me than its death.

Written on March 14, 2013

Awesome Scripts to Clean Up Files by Date

Awesome Scripts to Clean Up Files by Date

Turn this into that

Contains everything you need to keep your photos, downloads, or whatever else nicely grouped up by day. Includes both a script to run on selected files as well as a Folder Action Script to have it automatically file away every file added to a folder.

If you have exiftool installed, it will even group up your photos and videos based on when the picture was taken, rather than the file’s creation date.

Written on March 12, 2013