Re: NSOpenPanel won't allow selecting aliases
On Tue, 29 Jun 2010 20:34:11 -0700, Seth Willits said: Yes. I didn't quite realize that's what was happening. Hmm. So now I have to figure out how allow aliases through in my delegate method. Since they don't just pop up as folders, I have to find something that identifies them as aliases to folders... The NDAlias code should be helpful to you: http://github.com/nathanday/ndalias -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ 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
Re: NSOpenPanel won't allow selecting aliases
On Jun 24, 2010, at 11:19 AM, Corbin Dunn wrote: Apparently I've never noticed that in my open panels, I can't select aliases. Say for instance that on my Desktop there is an alias to deeply nested folder. In the open panel, when it lists the Desktop folder's contents, the alias is disabled so I can't double-click on it to drill into that folder's contents. Is your delegate not allowing them to be selected? Yes. I didn't quite realize that's what was happening. Hmm. So now I have to figure out how allow aliases through in my delegate method. Since they don't just pop up as folders, I have to find something that identifies them as aliases to folders... Thanks -- Seth Willits ___ 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
Re: NSOpenPanel won't allow selecting aliases
On Jun 23, 2010, at 4:59 PM, Seth Willits wrote: Apparently I've never noticed that in my open panels, I can't select aliases. Say for instance that on my Desktop there is an alias to deeply nested folder. In the open panel, when it lists the Desktop folder's contents, the alias is disabled so I can't double-click on it to drill into that folder's contents. What's the correct setting to enable that? I can't seem to find anything. NSOpenPanel * panel = [NSOpenPanel openPanel]; [panel setDelegate:self]; [panel setResolvesAliases:YES]; [panel setCanChooseFiles:YES]; [panel setCanChooseDirectories:NO]; [panel beginSheetForDirectory:nil file:nil types:nil modalForWindow:window modalDelegate:self didEndSelector:@selector(..) contextInfo:nil]; Is your delegate not allowing them to be selected? corbin ___ 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
NSOpenPanel won't allow selecting aliases
Apparently I've never noticed that in my open panels, I can't select aliases. Say for instance that on my Desktop there is an alias to deeply nested folder. In the open panel, when it lists the Desktop folder's contents, the alias is disabled so I can't double-click on it to drill into that folder's contents. What's the correct setting to enable that? I can't seem to find anything. NSOpenPanel * panel = [NSOpenPanel openPanel]; [panel setDelegate:self]; [panel setResolvesAliases:YES]; [panel setCanChooseFiles:YES]; [panel setCanChooseDirectories:NO]; [panel beginSheetForDirectory:nil file:nil types:nil modalForWindow:window modalDelegate:self didEndSelector:@selector(..) contextInfo:nil]; Thanks, -- Seth Willits ___ 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