This repo is no more maintained. Check out Text-Logger
Save selected text with shortcut in mac
Tested only for English
OS X 10.10 or higher is required.
- Select text what you want to save
- Press shortcut
- You can see saved contents from file
- Open Automator
- Menu > File > New > Choose Service
- Search for the Run Javascript Action, and add it to your Service
- Paste script in this repo & Set path of log file
- Save the service
- Open the Keyboard Preferences of the System Preferences pane
- Select Shortcuts tab and find the service
- Bind shortcut what you want (Recommend Control + Command + Letter)