Skip navigation.
 
mlRe: resolving aliases
FROM : Uli Kusterer
DATE : Fri Aug 04 20:37:14 2006

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

Related mailsAuthorDate
mlresolving aliases Yvon Thoraval Aug 4, 09:06
mlRe: resolving aliases Jakob Olesen Aug 4, 11:56
mlRe: resolving aliases Bill Bumgarner Aug 4, 13:56
mlRe: resolving aliases Yvon Thoraval Aug 4, 14:43
mlRe: resolving aliases Chris Hanson Aug 4, 18:32
mlRe: resolving aliases Yvon Thoraval Aug 4, 18:38
mlRe: resolving aliases Uli Kusterer Aug 4, 20:37
mlRe: Re: resolving aliases Shawn Erickson Aug 4, 20:46
mlRe: Re: Re: resolving aliases Shawn Erickson Aug 4, 20:48
mlRe: Re: Re: resolving aliases Rosyna Aug 5, 04:12
mlRe: resolving aliases Adam R. Maxwell Aug 5, 04:47
mlRe: resolving aliases Rosyna Aug 5, 04:57
mlRe: resolving aliases Yvon Thoraval Aug 5, 07:55
mlRe: resolving aliases Yvon Thoraval Aug 6, 09:39
mlRe: resolving aliases Yvon Thoraval Aug 10, 22:32