Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Unlock hidden features within Stickies Apps
Ok, here is something else cool about the stickies application. Go to the finder and navigate to Applications -> Stickies. Control click on Stickies and click Show Package Contents. Another Finder window will open up with a folder name Contents. Navigate to Contents -> Resources -> English.lproj -> StickiesDocument.nib. Double Click on StickiesDocument.nib (you'll need Xcode or the Developer Tools installed).

When you open up StickiesDocument.nib, you will see three items. These items are the Cocoa-Controls Panel, a window named Stickies, and the StickiesDocument.nib Panel. Click on the Window called Stickies and the menubar will change to Interface Builder. Click on Tools -> Show Info. When you click Show Info, a box will pop up labeled "NSTextView Info." Immediately under the label you will see a pop-up box labeled "Attributes."

If you see the label "Attributes" then you are on the right pane. In this pane, you will see a wealth of options for the Stickies. Some of the obvious ones are Text Color, Background Color, Border, and Scrollbar Size. The scrollbar comes in two sizes, small and regular.

There is a second set of options for the stickies that all include a checkbox for each option. These options are as follows:
  • [Selectable] -> Check this and you will be able to select text, pictures, etc... and paste it somewhere else for example.
  • [Editable] -> Check this and you will be able to edit the sticky note otherwise you can make the sticky uneditable.
  • [Multiple fonts allowed] -> Check this and Allow multiple fonts and styles.
  • [Graphics allowed] -> Check this and you can put pictures in your sticky otherwise you will not be able to use graphic in your sticky.
  • [Undo allowed] -> Check this and you can use the undo command otherwise you will not be able to use it.
  • [Continuous Spell Checking] -> This one doesn't work since the Stickies app already has an option for this. Go to Edit -> Spelling -> Check Spelling as you type.
  • [Uses Find Panel] -> This one doesn't work since the Stickies app already has an option for this. Go to Edit -> Find -> There are tons of find selections available.
  • [Allows Document Background Color Change] -> This one doesn't work since the Stickies app already has an option for this. Go to color and pick the color you want the Stickies background color to be.
  • [Show Scroller] -> Check this and your stickies will now have a scroll bars. This one is my favorite. I have this option turned on as the default. This is the configuration that I use when I am using something like the script editor dictionary hint.
  • [Automatically Hide Scroller] -> Check this and the scroll bar will automatically hide if there is nothing to scroll. This is one of my favorite features. I have this one turned on by default.
  • [Hidden] -> Check this and the text or picture image on the sticky will be hidden. Even though you are not able to see the text or image on the sticky note, you can still copy and paste it to a text or graphic editor. This is really funky! I haven't really found a good use for this feature yet.
I hope that people find this valuable since the Stickies application isn't scriptable. Maybe Apple will decide to make these features available in the future without having to go through so much to change the preferences and hidden features.
    •    
  • Currently 3.17 / 5
  You rated: 1 / 5 (6 votes cast)
 
[30,308 views]  

Unlock hidden features within Stickies | 22 comments | Create New Account
Click here to return to the 'Unlock hidden features within Stickies' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Unlock hidden features within Stickies
Authored by: roncross@cox.net on Jun 15, '04 11:18:20AM

After you check the feature(s) that you are interested in using, please save the document. Don't worry, all your changes are reversible in case you want to change back. In most cases when you save, the file will make a backup copy of itself. So there are no worries.

I also wrote a script that will help you navigate to the document of interest. If you run this script, it will take you to the Stickies window. From there,you will just have to click on the window Stickies and you will see the show info panel change to "NSTextView Info" Just follow the rest of the hint in the original post from there.

To run the script use will need to make sure that you have "Enable access for assistive devices check" in the Universal Access Pane of System Preference. You may also have to change the property myfile location if you have your hard drive named something other than "Macintosh HD"

[code]
property myfile : "Macintosh HD:Applications:Stickies.app:Contents:Resources:English.lproj:StickiesDocument.nib"


tell application "Interface Builder"
activate
open myfile
end tell
tell application "System Events"
tell application process "Interface Builder"
click menu item "Show Info" of menu "Tools" of menu bar item "Tools" of menu bar 1
perform action "AXRaise" of window "Stickies"
end tell
end tell

[/code]


---
rlc



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: spozgay on Nov 20, '04 04:45:47PM

This info worked great for making auto-hidden scroll bars under 10.3.5. But I upgraded to 10.3.6 and now my Stickies won't expand from the single-line/collapsed window. And of course I overwrote the orignal backup *.nib file, so no going backwards for me.

Anyone know where I can download Stickies.app from??



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: roncross@cox.net on Nov 20, '04 06:07:50PM

That's funny, I upgraded to 10.3.6 and I didn't have any problems. My stickies still work as advertised. You can probably find the original stickies.app on your installation cd.

thx
RLC

---
rlc



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: stevec on Jun 15, '04 11:22:05AM

This one threw me for a loop as the options he mentioned didn't seem to be there till I realized one important thing: You need to CLICK INSIDE the "stickies window" which then highlights around the inside of the window. Then SHIFT-COMMAND-I works as advertised.

Cool tip, thanx!



[ Reply to This | # ]
How to do the same in other languages
Authored by: wallybear on Jun 15, '04 01:54:12PM

If your language is not English, you have to do the same operations in your xxxx.lproj folder (e.g. (for italian): Contents -> Resources -> Italian.lproj -> StickiesDocument.nib), but...
...Interface builder will refuse to open that nib.

That's because the foreign nibs of Stickies are not complete. If you open them as packages, you'll see that the English nib has two more files in it: classes.nib and info.nib. As these files are common for all languages, they are present only in the English.lproj package.

The solution is simple:
1 - open your xxxx.lproj->StickiesDocument.nib as a package
2 - open the English.lproj->StickiesDocument.nib package
3 - Copy (copy, do not MOVE) the two missing file from the English package to your language package.
4 - Now you can use Interface Builder with your localized StickiesDocument.nib file

When you've finished editing it's your choice to remove or not the two added files (you can leave them inside your .lproj, they're innocuous).



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: Kool on Jun 15, '04 03:25:43PM

Welcome in the wonderful world of Cocoa! ;-)

This is hardly a hint, more of a "my-first-Interface-Builder-tutorial"...



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: roncross@cox.net on Jun 16, '04 02:12:07PM

I would have to respectfully disagree with you. It is not obvious that these features exist to the average users. Maybe to an expert this is obvious.

Come on, scroll bars for stickies, what normal user though this was possible? Let along how to get to the nib file to make this functional.

Even in apple's own words for stickies.app in the help section (search for the word scroll), they write, "Sticky notes do not have scroll bars. To scroll, use the arrow keys or the Page Up and Page Down keys."

So therfore I consider it a hint. Rob's considers it a hint as well otherwise he would not have posted it.

thx
RLC

---
rlc



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: Ross L on Jun 16, '04 12:02:50PM

I'm not quite sure if this is as much of a hidden feature as a nib hack. Basically what you're doing is editing the nib file and changing the attributes. You could add buttons to the nib files that do undo and such. You could theoretically do just about anything with the nib files with any Cocoa application, but it might mess up the program.

---
Mac in some foreign language means holy.



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: VegOil on Jun 16, '04 12:28:34PM

Speaking of messing up the program, I don't think I fiddled with anything but what was discussed here on this thread, but Stickies won't open now, it just gives me that generic application failed messsage and prompts for a report to Apple.

help…please.

Where is the file that contains the contents of my stickies? I'd REALLY like to back that up, unless of course, its too late.

thanks,
Rob
(607)330-4524



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: roncross@cox.net on Jun 16, '04 01:46:23PM

try restarting your computer. If that doesn't work, just use your backup nib file. One should be saved by defaults.


---
rlc



[ Reply to This | # ]
Problems after unlocking hidden features within Stickies
Authored by: VegOil on Jun 16, '04 03:07:09PM

Hmm, I did restart but it didn't solve anything. How do I load the default? As I'm sure you know there's a file called "StickiesDefaultDatabase" in the "English.lproj" directory; is this what you're talking about?



[ Reply to This | # ]
Problems after unlocking hidden features within Stickies
Authored by: roncross@cox.net on Jun 16, '04 03:26:35PM

hmmm. Before you proceed, make sure that you have quit out of the stickies application:

navigate to the following:

Contents. Navigate to Contents -> Resources -> English.lproj ->

There should be two files there. One file is called
StickiesDocument.nib (current file) and the other file is called StickiesDocument~.nib (backup file).

Rename the StickiesDocument.nib to something like StickiesDocument.backup

Rename the StickiesDocument~.nib to StickiesDocument.nib

quit and save and restart stickies and see what happens.


thx
RLC


---
rlc



[ Reply to This | # ]
Problems after unlocking hidden features within Stickies
Authored by: VegOil on Jun 16, '04 03:37:09PM

Yea, I tried this. Didn't remedy the problem. Where I can I get the original *.nib file?



[ Reply to This | # ]
Problems after unlocking hidden features within Stickies
Authored by: jum on Jun 18, '04 11:47:29AM

If you saved your NIB file more than once during the original modification, the backup will have been overwritten with the previous edited version, so the original version will be gone.
In that case, the only way would be to copy the Stickies application from another installation :(



[ Reply to This | # ]
Problems after unlocking hidden features within Stickies
Authored by: VegOil on Jun 18, '04 01:46:18PM

This is what I did.

I'm going to have to reinstall Stickies then.
Is there a way to reinstall stickies outside of reinstalling OSX?

Maybe somebody would be willing to e-mail me their original .nib file?
rmg47@cornell.edu

Is there a way to save the stickies I have written? Where is this file/ are these files, anyone?



[ Reply to This | # ]
Problems after unlocking hidden features within Stickies
Authored by: jporten on Jun 18, '04 07:22:25PM

That should be safely within your Library folder, IIRC. Next time you launch a working Stickies application, they'll come back. (Unless one of the pooched applications overwrote something, but I can't imagine that that kind of pooching took place.)



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: olwylee on Jun 18, '04 11:15:11AM

How about macosxcodehints.com :P

---
"There is more stupidity than hydrogen in the universe, and it has a longer shelf life." Frank Zappa"



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: derekhed on Oct 28, '04 03:57:47PM

Any way to stop the pop-up window showing the stickies' creation and modification date from showing up when you mouse over a stickie? This 'feature' is driving me crazy.

Thanks.



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: cabenson on Oct 29, '04 02:32:01PM

Once the StickiesDocument.nib is open, I highlight the window icon and then choose tools | show info. The window that then pops up is StickiesWindow Info which has Attributes underneath. I did not see NSTextView Info. (also did not see the scrollbar option)

Anyway, I made some changes and now I've managed to lose my DragBar. Ideas?

Thanks



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: roncross@cox.net on Oct 30, '04 03:42:03AM

You are almost there. Instead of clicking on the window named StickiesDocument.nib. Click inside the window named Stickies. When you click inside the window named Stickies, the show info box will change to NSTextView Info where you will see the hidden features

Cheers
RLC

---
rlc



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: Irene on Mar 02, '05 03:21:18PM

This wonderful hint only created a vertical scroll bar. is there a way to get a horizontal scrill bar as well?



[ Reply to This | # ]
Unlock hidden features within Stickies
Authored by: roncross@cox.net on Mar 02, '05 11:38:13PM

Unfornately, I don't know how to create a vertical scroll bars. Maybe someone else knows how to do this, but it will require a deeper hack than I am probably capable of doing.

thx
RLC

---
rlc



[ Reply to This | # ]