2023-05-01
Save selected text or screen area screenshot to Mochi in one click
Space repetition is almighty powerful technique.
But I’ve always failed at the cards creation.
It has to be extremely easy and fast to create a card, otherwise I won’t do it.
Especially when reading a blog post, watching a video, looking up something in docs, etc.
That’s why I’ve automated the process to the absolute minimum – one click (I use F1
), or even a trackpad gesture (I use four fingers double tap
).
- Wanna remember some text? Select it, press
F1
, that’s all.
- Wanna remember something else? Press
F1
, select a screen area, that’s all.
How it works
- I’m using amazing Mochi app – it’s simple, beautiful, and has an API.
- Using Keyboard Maestro, when pressing the selected hotkey, it runs a following macro:
- It some text is selected, save it to clipboard and use it!
- If nothing is selected, prompt for a screenshot selection, save it to clipboard and use it!
- Upload either text or image to Mochi using their API.
- Using BetterTouchTool, assign a trackpad gesture to the Keyboard Maestro macro (or just simulate pressing a hotkey).
Keyboard Maestro Macro overview:
BetterTouchTool Trigger overview
Upload script on GitHub