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

Re: NSApplicationSupportFolder


  • Subject: Re: NSApplicationSupportFolder
  • From: Rosyna <email@hidden>
  • Date: Tue, 28 Dec 2004 07:38:03 -0700

A lot of Cocoa devs will go through extraordinary lengths just to avoid Carbon. And it doesn't matter to them that their "solution" just calls the Carbon APIs underneath it ;-).

Ack, at 12/28/04, M. Uli Kusterer said:

At 12:50 Uhr +0100 28.12.2004, Stephan Burlot wrote:
The result is correct, it just gives you what you ask for.

Use this script to get all application support paths:

"POSIX path of (path to application support from system domain) & \",\" & POSIX path of (path to application support from user domain) & \",\" & POSIX path of (path to application support from local domain) & \",\" & POSIX path of (path to application support from network domain) & \",\" & POSIX path of (path to application support from Classic domain)"

Urk. That's a comma-delimited text string containing all the paths ... you definitely don't want that. If any of the path items contained a comma in its name, your app would fail (they don't now, but the whole point of this is to be prepared for future changes).


Why don't you just use FSFindFolder() and be done with it. No use wasting the user's CPU cycles by firing up AppleScript and employing scripting hacks if there's a reliable programming API built-in.

--


Sincerely, Rosyna Keller Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People
_______________________________________________
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: NSApplicationSupportFolder
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Re: NSApplicationSupportFolder (From: Shaun Wexler <email@hidden>)
 >Re: NSApplicationSupportFolder (From: "Sean McBride" <email@hidden>)
 >Re: NSApplicationSupportFolder (From: BK <email@hidden>)
 >Re: NSApplicationSupportFolder (From: Stephan Burlot <email@hidden>)
 >Re: NSApplicationSupportFolder (From: Georg Tuparev <email@hidden>)
 >Re: NSApplicationSupportFolder (From: Stephan Burlot <email@hidden>)
 >Re: NSApplicationSupportFolder (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: symbol font (yet again)
  • Next by Date: Re: NSApplicationSupportFolder
  • Previous by thread: Re: NSApplicationSupportFolder
  • Next by thread: Re: NSApplicationSupportFolder
  • Index(es):
    • Date
    • Thread