Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating alias to app for PDFService



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Creating alias to app for PDFService (From: Antonio Nunes <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.