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 have a small app that combines selected Finder items into a single PDF. I most often use this to merge multi page PDF's into a single file.

This app won't show up in the right click menu for selected (PDF) files. Of course I don't want to make this the default app for opening PDF's. All other PDF-related apps automatically show up in the context menu, but not this one.

What can I do to make this app show up in the right click menu?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Are you referring to the "Open With" sub menu?

If so, the contents are controlled by LaunchServices and you may need to rebuild your Launch Services database or you could state that you can handle .pdf files with a UTI in your Info.plist.

To rebuild the Launch Services Database:
Using 10.4:

/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user /

Using 10.5/10.6 the location changed to CoreServices.framework:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user /

Adding the UTI information is something best asked at Stack Overflow however.

share|improve this answer
    
Thanks! Fixing Info.plist and rebuilding Launch Services did the trick! –  dyve Aug 26 '09 at 10:15

OnMyCommand is a framework for customising and adding commands to the right-click menu on a Mac. It's well worth checking out... There's a basic tutorial here.

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.