From 070f98cdc414b3fa90c36a9f3c9ac1c1b26fc42c Mon Sep 17 00:00:00 2001 From: Andrew Cassidy Date: Tue, 27 Feb 2018 16:48:35 -0800 Subject: [PATCH] Create README.md --- Applescript/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Applescript/README.md diff --git a/Applescript/README.md b/Applescript/README.md new file mode 100644 index 0000000..4e27066 --- /dev/null +++ b/Applescript/README.md @@ -0,0 +1,21 @@ +# Applescript files + +These are all various Applescript and Automator workflows that I use regularly. These were never designed to be shared so paths may not make any sense. Automator workflows are archived for use in git. + +## Screenshot Management scripts +Handle screenshot storage and manipulation + +#### Manage screenshots +Compresses new screenshots and and places overflow into an archive folder. Should be attached as a folder action for where you place your screenshots (change with `defaults write com.apple.screencapture /path/to/folder`). Requires Zopfli to be installed, which can be done through Homebrew. + +#### OCR screenshots +Uses Tesseract to OCR screenshots, and place the output text into the macOS comment field. Should be attached as a folder action to wherever you want new screenshots to be OCRed (like the output of the Manage Screenshots workflow). Requires the "Put OCR text in comment" service, and for Tesseract to be installed, which can be done through Homebrew. + +#### Copy last screenshot to clipboard +Copies the last screenshot (most recent in your screenshots folder) to the clipboard. Can be bound to a shortcut using BetterTouchTool (I chose ⌘⌥V). You can also add a shortcut to a script using the Keyboard preferences pane, but then wont work in some applications. + +## Services +These appear in the right click menu for files in finder or text selection, depending on what they support + +#### Put OCR text in comment +OCRs an image file and places the output text into the macOS comment field (viewable with ⌘I). Requires Tesseract to be installed, which can be done through Homebrew.