Get Text Content of Finder Selection - Plugin Action


#1


Get Text Content of Finder Selection

by Ian Kirkland

Description

You'll love this action. It grabs the text content of every file currently selected in Finder and – if more than one file is selected – concatenates all the contents together, separating each file's text with the delimiter of your choosing – beit a newline, a space, a run of text, a Keyboard Maestro token, or nothing at all. Gone are the days of manually opening a bunch of files just to select, copy, and repaste their contents elsewhere. I use this action constantly and know that you too will find some awesome uses for it!

Also, one particularly handy feature that deserves a mention: this action even handles compiled AppleScript ".scpt" files!


Action Preview
km-gettextcontent-action

In Use

Select Finder items, run macro and BOOM! Get concatenated text


km-gettextcontent

downarrow

km-gettextcontent

Additional Notes

  • If you come up with any creative uses for the action, please share them here in the comments
  • Please report any bugs at: ianthekirkland@me.com

Download

Download Action:  km-gettextcontent.zip (1.3 MB)


Installation

To install, drop the .zip file onto Keyboard Maestro and it will install it as a Third Party Plug In action. If, for some reason the install fails, simply unzip and place the resulting folder in the Keyboard Maestro Actions directory in Application Support. You can locate this directory by copying the below path, and – in Finder's menubar – selecting "Go › Go to Folder...". Then paste the path into the text field that pops up:

~/Library/Application Support/Keyboard Maestro/Keyboard Maestro Actions/

Legal

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.