Creating an App Droplet in Keyboard Maestro

Screenshot1720Because the developers of QuicKeys have still not upgraded their application for OS X Lion, I have moved over to Keyboard Maestro. I’ve always thought both programs were nearly equally as good, but since I discovered and started using QuicKeys first, KM laid dormant in my Applications folder because it didn’t make since to run both Mac automation programs on my computers.

I’ll write more later about what I like about Keyboard Maestro, but I thought I’d do a quick little tutorial about how to make an application droplet in KM. I wrote the developer of KM and he wrote back and explained in a brief sentence how to create a droplet. But I thought I’d illustrate it here for newer users of Mac automation, Keyboard Maestro in particular.

What is a droplet? Well, it’s sort of acts like an application. While most of the automations you build in KM are triggered by either a keyboard shortcut, an application, typed string, or through the KM status menu, you can also create a droplet for any KM macro and launch it say from your Dock as you would an application or file. Here’s an example:

I use a macro that launches my most used applications. These applications could be of course automatically launched when I log into my account, but I don’t like that option because sometimes when I’m trouble shooting a problem on my computer, I don’t want all those apps launching when I’m experiencing problems.

I could also easily set a keyboard shortcut to trigger that macro, but I simply don’t use it enough to warrant a keyboard shortcut. Instead, I created a droplet that I can simply click in my Dock. Here’s how you do it.

1. Select the macro in KM that you want to create a droplet for.

2. Under the triggering section of the macro, select “Or by script,” and then select “Or by Apple Script.”

Screenshot1716

3. Voila, KM makes an instant AppleScript script for your macro that you save as a droplet/application.

Screenshot1717

4. Unfortunately you can’t turn a KM macro into app inside of KM, as you can in QuicKeys. But that’s not a real big deal, because you probably won’t be using droplets a lot to launch your macros.

5. So what you do is copy the AppleScript script. Launch AppleScript Editor (located in your Utilities folder, which is located in your Applications folder) and paste the copied script in the new file.

Screenshot1718

6. You might want to click the Run button to test it out. Then save it as an Application. I would suggest putting your droplet/apps in one place, say a folder you create in your Applications folder so you can easily access them.

Screenshot1718

7. Now drag that droplet to your Dock and you can launch it from there.

Screenshot1719

Linking Web Pages to Applications

One of the best uses for QuicKeys Menu feature is a creating a short that links a file, folder, webpage, another application to a specified application.

For example, I want to remember a website that sells products for Apple’s Pages and Keynote applications. Bookmarking the website won’t be very useful to me, because I won’t remember its name when I need it, and it will most likely get buried in a Safari folder of bookmarks.

So what I do now is simply drag and drop a selected URL onto the QuicKeys icon in my dock. It will instantly create a web launch shortcut.

2011-01-11_1820.png

After that is done, I scope the shortcut to the application I want to associate the URL with. I use the “quickeys menu” trigger so that the shortcut will appear in the QuicKeys menu bar.

2011-01-11_1810.png

Now weeks or months after I can’t remember the name of the website, I can simply click on the QuicKeys icon in my menu bar and select the select the shortcut with the specified URL. When I run the shortcut, it will of course open the specified website. The application will need to be open as well in order for the shortcut to appear.

Tip:

If there is a particular trigger you use over and over in QuicKeys, you can set it as the default triggeer by opening QuicKeys Preferences > Trigger. My default QuicKeys trigger is “quickeys menu” because that’s what I’m using most of the time in shortcuts I create.