8

A system gesture I use often when reading is to force press on a word which will pull up a definition and/or wikipedia page of the selected word (referred to as 'Look up & data detectors' in system preferences > trackpad). I'd like to save my history (preferably into a flashcard format) for review.

Anyone know of someone who's accomplished this or which direction to look in?

  • Just to clarify, when you say you'd like to save my history, do you mean a history of just the words you looked up? Or is it you want a copy of the actual definition, a copy of the wikipedia URL, etc? Something else? Also, can you clarify what version of macOS you're running? – Monomeeth Apr 24 '18 at 11:03
  • @Monomeeth I had in mind just the words, but more data can't hurt. I'm running 10.12.6 – Adam Ashwal Apr 24 '18 at 14:35
  • 1
    This is a cool idea. I would go about it by watching for windows of the type popover class _NSPopoverWindow and extracting and saving the contents to a log. The only comparable thing I've seen was an app hat records screenshots of your desktop every time a window changes and runs OCR on it all so that you can search for anything you've done in the past, in this case instances of "Look Up". I can't for the life of me remember the name of it (actually there were two very similar apps) but I'll comment again when it comes to me. – Matt Sephton Apr 27 '18 at 11:51

You must log in to answer this question.

Browse other questions tagged .