QA Graphic

Word Count LaunchBar Action

Easily Count the selected text

Sometimes I need a way to count a selected group of text. Usually, it's to see if it's long enough for a particular field.

If it was on a website, I would copy that text into BBEdit or another text editor. Then I would look at the status bar to see the number of words or length of the copied text.

There has to be a better way,

So I decided to create a LaunchBar action. It was really easy to do and a good task to brush up on my JavaScript skills.

Launch Bar Word Count

Using the Action

Now when I need to get the information, I just follow these steps.

  1. Select the text
  2. Use the 'Instant Send' keyboard short cut
  3. Click Tab
  4. Then type in 'Word' and then click return.

I get instant info on my selected text.

Download the Custom Action

I figured other people may want to use this so I am making it publicly available.

Word Count.lbaction
Click to Download

Download the action. After downloading, double-click on the zip file to uncompress it. Then double click on the file to install in LaunchBar

 

About

A Mac veteran since 1989, I'm here to share my experience with tips and tricks every Friday. Witnessing the evolution of Mac software and hardware firsthand, I've gained a deep understanding of how these machines work and can help you troubleshoot any issues that may come up.

Schedule

WednesdayAffinity
ThursdayBBEdit
FridayMacintosh
SaturdayInternet Tools
SundayOpen Topic
MondayMedia Monday
TuesdayQA