• 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: Not Resolving Aliases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Not Resolving Aliases
      • From: Scott Ribe <email@hidden>
  • Prev by Date: Re: Coverflow like background drawing?
  • Next by Date: Re: Opening Symbolic Links
  • Previous by thread: Re: Not Resolving Aliases
  • Next by thread: Re: Not Resolving Aliases
  • Index(es):
    • Date
    • Thread