Want to have KM recognize a text and then based on that run a specific macro

You'll need to give us a bit more detail.

Search where? A file? A folder? A variable? Selected text?