Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

up vote 3 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
    
You're awesome. This is indeed exactly what I was looking for. Thanks a lot! –  MacbweN Feb 25 '11 at 18:42

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.