Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for an OSX application that allows you to view the clipboard data in hex format. So if, for example, there's an image copied to the clipboard, then the app shows me the image data in hex form (i.e., "unformatted")

Is there an app out there for OSX that can do this? CLCL works, but unfortunately it's Windows only.

share|improve this question
    
I assume you're a developer of sorts, so, if no solution shows up, you could try to do it yourself. It should be easy to access the NSPasteBoard, get the NSData from it and write that to a file. Open with a hex editor and you're done. – Daniel Beck Feb 16 '11 at 21:59
up vote 5 down vote accepted

Apple has provided sample code in the form of a project to create an app called "Clipboard Viewer" which does exactly what you're looking for. Don't know where I put my copy of the project, but here's a copy of the app:

http://www.markdouma.com/developer/ClipboardViewer.zip

share|improve this answer
1  
You're awesome. This is indeed exactly what I was looking for. Thanks a lot! – MacbweN Feb 25 '11 at 18:42
    
This app is now pretty outdated (2009), so try the project from the Apple Developer Site first. It's been updated in 2012 and works a lot better. – Matt M. Jul 25 at 19:22

If you want to download and compile the code, it's still available in Apple's Developer Site as Clipboard Viewer.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .