• 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: Creating alias to app for PDFService
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating alias to app for PDFService


  • Subject: Re: Creating alias to app for PDFService
  • From: James Bucanek <email@hidden>
  • Date: Sun, 30 Apr 2006 06:59:38 -0700

Antonio Nunes wrote on Sunday, April 30, 2006:

>           success = [fileManager linkPath:myAppPath
>toPath:pdfServiceDirectoryPath handler:nil];
>
>But the last call to the linkPath method always returns NO and no
>alias is created. I've tried the myAppPath with and without the path
>extension. No joy either way. Can anybody tell me where I'm going wrong?

I'm positive this won't work without the extensions; the file manager is only going to work with literal file and directory names.

If it isn't working why don't you ask NSFileManager? If you supply a callback for hander: the NSFileManager will tell you why it can't create the link.

--
James Bucanek
 _______________________________________________
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: Creating alias to app for PDFService
      • From: Antonio Nunes <email@hidden>
References: 
 >Creating alias to app for PDFService (From: Antonio Nunes <email@hidden>)

  • Prev by Date: Creating alias to app for PDFService
  • Next by Date: crash on window closing
  • Previous by thread: Creating alias to app for PDFService
  • Next by thread: Re: Creating alias to app for PDFService
  • Index(es):
    • Date
    • Thread