Much thanks for the information everyone. Invaluable stuff, and I finally have the behavior I was looking for.
I'm still fuzzy on the real function of 'fromPath:'. It's equiv in FSNewAlias() appears to be fromFile which is defined as 'A pointer to the starting point for a relative search...' and could be given a NULL value (at least in fromFile). Of course my fuzziness on 'relative search' may stem from my complete non-understanding of 'alias records'. It's all quite overwhelming really. @Sean -- My suggestion to change the var name 'aliasFilePath' to 'aliasFileName' stemmed from not 'grokking' that a path COULD go there. I even think it SHOULD go there. I may recommend changing it back to it's original name and for clarity sake, perhaps building an explicit path to the alias much as is done with the path to the file it points to [ kDirOfTestProject stringByAppendingPathComponent:kTestFileName]. On the other hand, since I appear to be the only person in the world who was confused, please take that suggestion with a 20lb grain of salt. Alright. Back to the salt mines. On Thu, Apr 28, 2011 at 2:48 PM, Sean McBride <[email protected]>wrote: > On Thu, 28 Apr 2011 14:05:46 -0400, Kevin Muldoon said: > > >[[NSWorkspace sharedWorkspace] selectFile:aliasFilePath > >inFileViewerRootedAtPath:@""]; > > This was wrong though, as 'aliasFilePath' was not a full path. I've > fixed that in git. > > -- > ____________________________________________________________ > Sean McBride, B. Eng [email protected] > Rogue Research www.rogue-research.com > Mac Software Developer Montréal, Québec, Canada > > > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
