I want to get the currently selected item (text, image, etc) and display in my Cocoa app's window when a keyboard shortcut is hit. Droplr has functionality like this, for example. How do I go about doing this?
For example, I want it to return "(text, image, etc)" as text when that text selected on the screen like this: http://drp.ly/JAdv