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?

link|improve this question

73% accept rate
feedback

1 Answer

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:.

link|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
feedback

Your Answer

 
or
required, but never shown

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