Pipe/filter text to shell command or AppleScript

8 years ago updated by Alexander Blach (Developer) 8 years ago 1

I like being able to select some text (or have the whole document) be filtered through arbitrary shell commands and have the result replace the selection (or document).

I've had a look at a similar problem yesterday. I'm not sure if this is even possible for a sandboxed Mac App Store app which typically can't launch other arbitrary apps or execute AppleScript.