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.

One of the neat things about OmniFocus is that you can add tasks to it by calling omnifocus:///add?name={query} from a browser, or launcher (like Alfred or LaunchBar). I'd like to know what other functions there are to call for it, and other apps as well.

I poked through the info.plist of Package Contents of the app, but it only detailed that omnifocus:// was indeed registered as a custom scheme. And I couldn't find any reference to it on Omni's site as well.

share|improve this question
    
While I didn't figure out how to find specific URI schemes, I did solve my problems with an AppleScript that I imported into Alfred. –  swilliams May 11 '12 at 14:45
add comment

1 Answer

I like to use RCDefaultApp to manage handlers for protocols and URIs. There may be a better way to do it programmatically, but Rubicode's RCDefaultApp is very useful for a lot of other reasons too.

When you dump the launch services database does it show up there?

 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -h
share|improve this answer
    
That's definitely nicer than poking through plists, but doesn't quite answer my question :). I don't want to know just what URI schemes are registered, but what functions they'll respond to. –  swilliams May 11 '12 at 15:48
    
I added the path of lsregister to my suggestion, maybe the arguments and variables can be mined that way? –  incumbent May 11 '12 at 17:10
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.