On Apr 28, 2011, at 11:05, Kevin Muldoon wrote: > if( [[NDAlias aliasWithPath:aFilePath fromPath:NSHomeDirectory()] > writeToFile:aliasFilePath] )
Yes, but this isn't what you did, or what you wanted. The sample code is intentionally putting the created alias file in the *current* directory, which is why 'aliasFilePath' specifies no explicit directory. You want to put it in a different place (the desktop), but you passed 'aliasName' instead of 'aliasFilePath' for that parameter. _______________________________________________ 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]
