on osx lion, you can control-command-d or triple-click on the word your mouse is pointing to in any application to launch the popover dictionary. I want to make an application for tracking words that a user is looking for in a dictionary.
how can I observe an event when the user executes the control-command-d command or triple-click to start the popover dictionary?
I understand the specific API for this HIDictionaryWindowShow .
source share