OCR -- User-Selected Area Macro (v9.0.1)

Use Case

  • Make it easy to OCR any selected region of your screen

MACRO:   OCR -- User-Selected Area by @ccstone

This macro was written by Chris @ccstone, who shared it with me. Since Chris has been away for a bit on personal business, I got his permission to upload this for all to enjoy.

~~~ VER: 1.0    2019-08-26 ~~~
Requires: KM 9+   macOS 10.11 (El Capitan)+
(Macro was written & tested using KM 9.0+ on macOS 10.14.5 (Mojave))

DOWNLOAD Macro File:

OCR -- User-Selected Area.kmmacros
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.

How To Use

  1. Display the window/screen that contains the image you wish to OCR
  2. Trigger this macro
  3. Select the area for the screencapture.
  4. OCR results are put on Clipboard

Macro Setup

  1. Assign a Trigger to this macro.
  2. Move this macro to a Macro Group that is only Active when you need this Macro. In this case it is best for this MG to be in a Global group so that it is always active.
  3. ENABLE this Macro, and the Macro Group it is in.


I just have to pipe in to say...

This macro is incredible!! Who even knew this kind of thing was possible? Not me! :nerd_face::+1:t3:

Thank you, thank you, thank you!!


Is possible without new lines?

Sure. You can add a Search and Replace Action:

where 𝍖 is a space, or any other character you'd like to use.

That's cool.

Hello, It seems does not work for me.

That's because you are searching for a "String", and it should be using a "Regular Expression":


1 Like

Thanks, it's work now.

1 Like

A post was split to a new topic: How Do I Use Move Mouse Action with Screen Capture?