Use -[NSURL path] to get the unix-style path format.

On Jul 1, 2010, at 10:29 AM, Rainer Standke wrote:

> At the bottom of each finder window there is a 'path' display that indicates 
> the path to the directory represented by the window. I'd like to be able to 
> convert a path like this one: 
> 'file://localhost/Users/rainer/Desktop/S&S%20material/hidden/' to some like: 
> 'MacHD/Users/rainer/Desktop/S&S material/hidden'.
> 
> I have pieced some things together myself, but the whole thing is a mess. Is 
> there a way to access the same mechanism the Finder is obviously using?
> 
> Thanks,
> 
> Rainer_______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/kainjow%40kainjow.com
> 
> This email sent to kain...@kainjow.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to