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 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)