• 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: Path of a folder represented in AppleScript path style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path of a folder represented in AppleScript path style


  • Subject: Re: Path of a folder represented in AppleScript path style
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 12 Jul 2005 23:24:03 -0600


On Jul 12, 2005, at 10:42 PM, Ron Ballesteros wrote:

I'm working on a little app that needs to write to a file a bunch of folder paths. I can get the folder paths in the usual POSIX style path as returned by -subpathsAtPath:(NSString *)path but I need to write the paths in the AppleScript style of "MacHD:Users:ronmb:Desktop:DataFolder:"

Those are called HFS paths.

Is there something in Cocoa that will allow me to provide it a POSIX path and return to me the AppleScript style path?

No, but you can do that using CoreFoundation. Read the CFURL documentation for details.


Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
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


References: 
 >Path of a folder represented in AppleScript path style (From: Ron Ballesteros <email@hidden>)

  • Prev by Date: Re: Documentation frustrations
  • Next by Date: How to embed a file into my project
  • Previous by thread: Path of a folder represented in AppleScript path style
  • Next by thread: Re: Path of a folder represented in AppleScript path style
  • Index(es):
    • Date
    • Thread