Re: How to programmatically create a Finder Alias?
Re: How to programmatically create a Finder Alias?
- Subject: Re: How to programmatically create a Finder Alias?
- From: Scott Anguish <email@hidden>
- Date: Sun, 31 Aug 2003 01:49:22 -0400
On Aug 31, 2003, at 12:16 AM, Michael Mulligan wrote:
I am trying to programmatically create an alias for a folder. Is it
possible? I was trying to use NSFileManager to see if
linkPath:toPath:handler: would suffice, but it simply duplicates the
folder
rather than creating any sort of link. I would rather not create a sym
link
(as in run "ln -s linkname"), but rather, a true, Finder alias. Is
there a
way to do this, or should I simply tell my users that they should
create the
alias manually from the Finder?
Oh, ick, you're not planning on putting this on the desktop are you?
Anyways, check out Nathan Day's NDAlias class
<
http://homepage.mac.com/nathan_day/>
And if you'd like to see this functionality in NSFileManager, (or
Foundation in general), please use bugreporter.apple.com to request it.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.