Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'd like to add a Spotlight comment to TextEdit.app. Is that possible?

What I've done:

  • Open Finder
  • Browse to /Applications/
  • Select TextEdit
  • Press + I (Get Info)
  • Click the lock icon to unlock the dialog
  • Click on Spotlight comment text field
  • Nothing happens. Even cut, copy and paste options are disabled in the context menu.

This seems to be the case for all the other OS X bundled apps as well (Font Book, iChat, iCal, …)

I could create an alias of the app and give comments to it, but are there any other ways?

share|improve this question
    
You could also run Finder as root or use xattr. –  Lri Sep 25 '12 at 11:49
add comment

1 Answer 1

up vote 2 down vote accepted

You need to have write permission for the bundle. After you open the lock:

  • Select 'Read & Write' permission for 'everyone'
  • Add your comments
  • Restore the permissions
share|improve this answer
    
Duh, someone needs to slap his face. Thanks! –  koiyu Jul 9 '11 at 14:42
    
:-) You're welcome. –  JRobert Jul 9 '11 at 14:44
1  
You could also try to set them as root rather than changing permissions. Something like sudo xattr -w com.apple.metadata:kMDItemFinderComment "shazam" /Applications/Text\ Edit.app should do the trick –  bmike Jul 9 '11 at 16:21
    
@bmike, say, first time I'd like to flag a comment as "Not a comment — This was posted as a comment but it does answer the question. It should possibly be an answer." if I could :-D –  koiyu Jul 10 '11 at 7:51
    
I didn't have time to test it well - xattr isn't the best documented or stable command on OS X so I wanted it as a comment. If I can test I'll answer this later, but feel free to answer it yourself with xattr - your thanks is all the reward I need. –  bmike Jul 10 '11 at 16:39
add comment

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.