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.

OS X Stickies lets you change the background color of a stickie note to any of six colors. How can I select a different, custom color for my notes?

I don't see any preferences that allow me to do this. So, I was hoping to simply edit some file contained in the Stickies.app bundle, or in the StickiesDatabase. But, I can't find the right spot to edit. I determined that the blue note has color #ADF4FF, in hopes that I'd be able to find that hex string in some file and replace it with the hex code of another color, but no matter which file I opened in HexEdit, I could not find "ADF4FF" in the hex contents.

Any ideas?

share|improve this question

1 Answer 1

The color values are hard-coded in the Stickies binary.

Decompile and look in StickiesWindow setColorByIndex:. The colors are created using NSColor colorWithDeviceRed:green:blue:alpha:.

share|improve this answer
    
How do you decompile Mac apps to get to the level of code? –  Vervious Aug 25 '11 at 5:44
    
@Nano8Blazex otool is included with the developer tools. You don't actually get the code though. –  Daniel Beck Aug 25 '11 at 5:48
    
To be honest, it seems they use array elements for arguments to that function call, from the little assembly I can read, so the colors could be defined elsewhere. It's just that html color syntax won't help the user in finding that. –  Daniel Beck Aug 25 '11 at 6:04

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.