Re: resolving aliases
Re: resolving aliases
- Subject: Re: resolving aliases
- From: Uli Kusterer <email@hidden>
- Date: Fri, 4 Aug 2006 20:37:14 +0200
Am 04.08.2006 um 18:38 schrieb Yvon Thoraval:
ok, i see what you mean, the question remains to me, how to resolve
alias FILE ))
Apple will probably tell you to use AppleScript. Otherwise, you can
open the Alias file's resource fork (e.g. using NDResourceFork), load
the 'alis' resource in there (which is an AliasRecord), stick it in
an NSData and hand that off to NDAlias. *then* that NDAlias will
point to the same file the alias file stands for.
But in this case, you're making an assumption about the internal
format of an alias, which Apple recommends against.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden