Re: Not Resolving Aliases
Re: Not Resolving Aliases
- Subject: Re: Not Resolving Aliases
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sun, 25 Jan 2009 20:14:32 +0700
On 25 Jan 2009, at 09:31, Michael Ash <email@hidden> wrote:
On Sat, Jan 24, 2009 at 9:54 AM, Gerriet M. Denkmann
<email@hidden> wrote:
When I do:
[ sharedWorkspace openFile: @"/path/to/symlink" withApplication:
@"SomeApp"
]
then "SomeApp" does NOT get "/path/to/symlink" but the content of the
symlink.
Same for Aliases.
Is there a way to open a path without resolving aliases?
I haven't tried it, but I would bet that if you use LaunchServices
directly then it will do what you say instead of trying to do what you
mean.
I tried LSOpenURLsWithRole but it resolves symbolic links. And returns
fnfErr = File not found for broken symlinks.
Anything else I could try?
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden