Re: Setting the default folder in saveDocumentAs (NSDocument)

2010-09-23 Thread Conrad Shultz
If I understand what you're asking, I think you want NSSavePanel's -(void)setDirectoryURL:(NSURL*)url From the docs: "Sets the directory shown in the panel to the directory with the specified URL." -Conrad On Sep 21, 2010, at 2:17, Thorsten Lemke wrote: > Hello, > > How can I set the default

Setting the default folder in saveDocumentAs (NSDocument)

2010-09-23 Thread Thorsten Lemke
Hello, How can I set the default folder for the saveDocumentAs handler? [self runModalSavePanelForSaveOperation:NSSaveAsOperation delegate:nil didSaveSelector:NULL contextInfo:NULL]; This is possible in Carbon with an AEDesc. Thorsten ___ Cocoa-dev