Blog Archives

Bookmark with Dynamic Components via Keyboard Maestro (with Toggl Reports example)

Here’s an example of how you can use Keyboard Maestro to create bookmarks that use dynamic components. For this example I wanted to create a bookmark that would give me the correct URL to get a report of the last

Tagged with: , , , ,
Posted in Tech Tips

Microphone Enable/Disable with Alert – Keyboard Maestro Macro

In the past I’ve used Shush to achieve a push-to-talk or push-to-silence setup on my Mac. It works alright but more often than not I forget which mode I’m in, or whether I’m silenced or not. This leads to awkward

Tagged with: , , ,
Posted in Tech Tips

Random Mouse Distance in Keyboard Maestro

Here’s one way to choose a random item in a select list using just mouse movements and a random number. If you’re trying to do this in a browser there are cleaner ways to do it (javascript, chrome/safari actions, etc.), but

Tagged with: ,
Posted in Tech Tips

Use Keyboard Maestro to Hide Instead of Close an Application

I use SnagIt to capture screenshots. The editor window that appears after you capture takes a few seconds to open if the application isn’t running. I realized that, while the capture tools remain open, the editor goes away when I

Tagged with: ,
Posted in Tech Tips

Automatic Dropshadow and Border on Mac OS X Screenshots

If you’re like me, you take lots of screenshots. I probably average 20 a day. Primarily I use CMD-SHIFT-4 and drag a box around what I want to capture. The result is exactly what I highlighted. Here’s an example: That

Tagged with: ,
Posted in Tech Tips

Keyboard Maestro – Looping Through Each Line of the Clipboard

This graphic illustrates how you can loop through each line of the clipboard and use the line’s value for some purpose. It also demonstrates how to handle the first line differently than the others. This is zero-based. The second time

Tagged with: ,
Posted in Tech Tips

Detecting When You’re “Away” or “Back” in Your Keyboard Maestro Macros

Your Mac knows the last time you moved the mouse or pressed a keyboard key. We can use this information in Keyboard Maestro to perform actions based on whether we’ve “gone away” from or have “come back” to our computer. I’m using this

Tagged with: ,
Posted in Tech Tips

Easy Dummy Text using Python Faker and Keyboard Maestro

Yet again I’ve found a great use for Keyboard Maestro. I’m a web developer and often have to create “filler” or “dummy” text during development. In the past I’ve used Alfred workflows, copy-and-paste, browser extensions, and more. I’ve recently come

Tagged with: , , , , ,
Posted in Development, Tech Tips

Keyboard Maestro URL Handler (KMLink) – Introduction and Basic Usage

Keyboard Maestro offers many ways to trigger macros, but unfortunately there isn’t a URL handler that lets you trigger macros via a URL. There are a number of keyboardmaestro://  URLs handled by the built-in url scheme, but executing a macro isn’t an

Tagged with: , ,
Posted in Development, Tech Tips

Delete Last Command from Bash History

If you’re like me, on occasion you accidentally (or sometimes purposefully) include a password in a command. Until recently I would execute history , find the offending command’s number, then do a history -d NUMBER . It is kind of a pain. The following

Tagged with: , , ,
Posted in Tech Tips