Re: resolving aliases
Re: resolving aliases
- Subject: Re: resolving aliases
- From: Yvon Thoraval <email@hidden>
- Date: Sat, 5 Aug 2006 07:55:10 +0200
Le 4 août 06 à 20:37, Uli Kusterer a écrit :
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.
ok, thanx, for the time being i'm using Finder thru AppleScript i
wanted to avoid this applescript ))
_______________________________________________
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