FROM : Chris Hanson
DATE : Fri Aug 04 18:32:32 2006
On Aug 4, 2006, at 5:43 AM, Yvon Thoraval wrote:
> BUT in my test fullPath returns the path of the alias itself )))
> not of the file/folder the alias point to...
>
> howver, i get the path of the alias, i've read the ObjC code and it
> looks correct, very similar to Apple's writing.
>
> something i misunderstood ?
It sounds like you're trying to resolve an alias *file* rather than
an alias *record*. BDAlias and the File Manager documentation on
resolving aliases are all about manipulating and resolving alias
records.
For example, when you pass a path to -[BDAlias initWithPath:] you're
creating an alias record that points to the file located at that
path. You're not creating a Finder alias file at that path which
points to some other file.
-- Chris
DATE : Fri Aug 04 18:32:32 2006
On Aug 4, 2006, at 5:43 AM, Yvon Thoraval wrote:
> BUT in my test fullPath returns the path of the alias itself )))
> not of the file/folder the alias point to...
>
> howver, i get the path of the alias, i've read the ObjC code and it
> looks correct, very similar to Apple's writing.
>
> something i misunderstood ?
It sounds like you're trying to resolve an alias *file* rather than
an alias *record*. BDAlias and the File Manager documentation on
resolving aliases are all about manipulating and resolving alias
records.
For example, when you pass a path to -[BDAlias initWithPath:] you're
creating an alias record that points to the file located at that
path. You're not creating a Finder alias file at that path which
points to some other file.
-- Chris
| Related mails | Author | Date |
|---|---|---|
| Yvon Thoraval | Aug 4, 09:06 | |
| Jakob Olesen | Aug 4, 11:56 | |
| Bill Bumgarner | Aug 4, 13:56 | |
| Yvon Thoraval | Aug 4, 14:43 | |
| Chris Hanson | Aug 4, 18:32 | |
| Yvon Thoraval | Aug 4, 18:38 | |
| Uli Kusterer | Aug 4, 20:37 | |
| Shawn Erickson | Aug 4, 20:46 | |
| Shawn Erickson | Aug 4, 20:48 | |
| Rosyna | Aug 5, 04:12 | |
| Adam R. Maxwell | Aug 5, 04:47 | |
| Rosyna | Aug 5, 04:57 | |
| Yvon Thoraval | Aug 5, 07:55 | |
| Yvon Thoraval | Aug 6, 09:39 | |
| Yvon Thoraval | Aug 10, 22:32 |






Cocoa mail archive

