Termly Dictionary Service

September 18, 2012 by Gabe | [mmd] |

The built in dictionary in OS X is great, but sometimes I want a little more. Agile Tortoise, maker of Terminology and Drafts app, also provides a very good dictionary lookup Web site called Term.ly.

I created an Automator service that allows me to select some text and then pop open the Term.ly definition as a small pop-over panel. I can then select a word in Term.ly and it will replace the selected word in my document and add the new term to my clipboard.

Here's the Automator services workflow:

I use a variable to construct the Term.ly url.

Here's how I use the service in an application like nvAlt:

Select some text and right click to access the services menu.

I get a small iPhone sized pop-up with the definition displayed. The page is fully interactive. Hitting "Cancel" ends the workflow and does not change the selected text. However, if I choose to replace the word in my document, I just select the new word in the Term.ly window and click "OK"

As a LaunchBar user I can access my services directly. I hit ⌘+Space to open LaunchBar and then bring up the service by name and hit Enter. I type a lookup term and hit Enter again to get the lookup result window.

If I select a new word in Termly and click "OK" then LaunchBar adds the word to its clipboard history.

Older articles

  1. A Shortcut Viewer

    February 24, 2012 by Gabe | [mmd] |

    I posted a tip for creating a Markdown cheat sheet a week ago. That solution used Marked to display the Markdown as formatted text. But I wasn't happy with needing to open and then close a Marked window. So I got to noodling around and remembered how useful Automator ...

  2. MPU: Automator [Link]

    January 23, 2012 by Gabe | [mmd] |

    Such a nice surprise to wake up and find an interview with Ben Waldie about Automator. Electron for electron, the 5By5 network content beats any TV network out there for pure enlightenment and entertainment.

  3. Markdown Services [Link]

    January 02, 2012 by Gabe | [mmd] |

    Just to prove how late-to-the-party I am, here’s Brett’s Markdown Services from September

  4. Automator App Backup [Link]

    January 02, 2012 by Gabe | [mmd] |

    Nice tip from Macworld to automatically backup versions of applications. I’m not sure I agree with the reasoning for doing it though. If a developer removes or changes a feature that I’m not happy with, I’m more likely to find a different app than to constantly skip ...

  5. What's So Fun About Fake?

    December 24, 2011 by Gabe | [mmd] |

    I wrote about the Mac application “Fake”[1] awhile ago. From my very first use, I thought it was an incredibly clever tool. Fake is like a super-charged automator for Webkit. It makes automating interactions with webpages easy and simple. But why would I want to use Fake instead of ...

  6. Remote Macro Execution

    October 17, 2011 by Gabe | [mmd] |

    Keyboard Maestro macros can be executed several different ways. There’s the common hot-key trigger and text snippet trigger. These are great but sometimes I need to run a macro when I’m not sitting in front of my computer. That’s where the KM Webserver trigger and Keyboard Maestro ...

  7. Don't Forget About Automator

    August 30, 2011 by Gabe | [mmd] |

    It's a mature tool now, that has a huge amount of power. I often forget about how easy Automator is to use and set out writing Python or AppleScript when Automator provides a solution in a few clicks. Many times it's a one-off solution that I don't ...

  8. More Fun With Markdown Text Services

    August 17, 2011 by Gabe | [mmd] |

    I couldn't resist. Here are some more generic solutions for text processing via the Services Menu. Create an Automator Services project that accepts text and replaces the selection with the result as shown. Add a "Run AppleScript" step to the workflow. Automator Script Here's the AppleScript to convert a selection ...

  9. Create a Text Service That Uses BBEdit

    August 17, 2011 by Gabe | [mmd] |

    If you are a proud user of BBEdit, don't forget that it can help with text anywhere in the OS through the services menu.

    Using Automator, you can build new services that receive selected text and replace it with some processed text. Here's an example for use with ...