How do I get default download directory?


Do not read this sign.
Okay, strobe, I'm counting on you for this one.

From an Objective-C class, how do I determine a person's default download directory?

For those interested, I'm making a very light wrapper application for the wonderful, robust wget tool. If I ever see some good Services examples with windows, I'll add that too.

I tried defaults read | grep download with no luck.

Surely someone out there must know how. I'm always hearing people complaining that OmniWeb and a few others ignores it.

Yes, I'd like to know how to do this as well.

From the scarce info I've discovered on the web it could have something to do with NSUserDefaults, but I haven't worked out how to access dictionary values in a .plist not belonging to your own application.