Thanks Sean and Nick.

Yeah I am on 10.5.8 for specific reasons.

-koko

On Sep 20, 2010, at 3:30 PM, Nick Zitzmann wrote:


On Sep 20, 2010, at 3:25 PM, Sean McBride wrote:

Is it not possible to set the file name text field before displaying
an NSSavePanel?  I see no "setters" in the docs for filename.

Incredibly, this was only added in 10.6. Are you on an older OS? See
setNameFieldStringValue:

Well, sort of. On Snow Leopard, that is the correct method. On Leopard and earlier, the -runModalForDirectory:file: and the sheet- based equivalent do the same thing if you pass in a string for the file argument. Incidentally, that method works in Snow Leopard as well, although its use is now deprecated.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/koko%40highrolls.net

This email sent to k...@highrolls.net


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to