Adjusted txtquery.sh for use with tools like KM

Keyboard Maestro, Alfred etc