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

Re: API Path Question


  • Subject: Re: API Path Question
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 9 Jun 2006 15:29:34 -0600


On Jun 9, 2006, at 2:56 PM, Jerrod Fowkes wrote:

It is my knowledge that Applescript needs to have hfs pathing to files. It also appears that iTunes needs to have an alias to a file as well on the file in order to add it to a playlist. Well I could have any directory on the filesystem and I was wondering if there was a Cocoa API call that could essentially convert

You can create an NSURL with that path and then use the CFURLCopyFileSystemPath() function to get a string in HFS path format.


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
  • Follow-Ups:
    • Re: API Path Question
      • From: Jerrod Fowkes <email@hidden>
References: 
 >API Path Question (From: Jerrod Fowkes <email@hidden>)

  • Prev by Date: Re: [ANN] view hierarchy inspector
  • Next by Date: Validation of NSTextField contents
  • Previous by thread: API Path Question
  • Next by thread: Re: API Path Question
  • Index(es):
    • Date
    • Thread