Open and Save functionality without the dialog(s)

I’d like to combine 2 NSOpenPanels and an NSSavePanel into 1 interface to avoid the “death-by-dialog” syndrome. I am writing code to allow for the analysis of the calculations performed in my NFL Spreads Generator.

I’m looking to be able to run the calculations over an entire season using the stats that would be used on a week-by-week basis. To do this I need to:

¢ open a file containing the season I want to analyze – (contains the weekly match ups and final scores)
¢ locate the folder where the stats files for that season are stored – (3 files of stats for each week of the season)
¢ and where to write the output file

I know I can do this using 3 open/save panels (or sheets) but I’d to be able to do this all at once in the same interface. What I’m most interested in is the portion of the panel(s) that displays the directory information (an NSBrowser if I’m correct). What’s the best way to accomplish this?

Thanks in advance,
Brad Bumgarner

Hello.

Have you considered, just specifying a property to some root to your folder structure to avoid all of this, if files inside a bundle doesn’t hack it?

I think a rigid file structure of some sort, would help you out.

Some kind of fixed relationship for at least the first two would make sense, and maybe you could default somewhere like the desktop for the latter.

Trying to add multiple browsers as you asked is going to be an awful lot of pain, and really result in a cluttered and unfriendly interface.

If you must do this way, NSPathControls would be much easier to use.

Shane,

Thank you for your suggestion, NSPathControl is definitely the way to go! I can set the default path and by using the Popup style I have the option to “choose” that brings up an open-style dialog. Just what I was looking for!

Thanks again,
Brad