• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: resolving aliases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: resolving aliases
      • From: Yvon Thoraval <email@hidden>
References: 
 >resolving aliases (From: Yvon Thoraval <email@hidden>)
 >Re: resolving aliases (From: Bill Bumgarner <email@hidden>)
 >Re: resolving aliases (From: Yvon Thoraval <email@hidden>)
 >Re: resolving aliases (From: Chris Hanson <email@hidden>)
 >Re: resolving aliases (From: Yvon Thoraval <email@hidden>)

  • Prev by Date: Re: File changed notification
  • Next by Date: Re: remove all columns and enable sorting.
  • Previous by thread: Re: resolving aliases
  • Next by thread: Re: resolving aliases
  • Index(es):
    • Date
    • Thread