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

Re: spaces in pahts


  • Subject: Re: spaces in pahts
  • From: Robert Fischer <email@hidden>
  • Date: Wed, 6 Nov 2002 20:14:49 +0100

On Thursday, October 31, 2002, at 09:51 AM, Dominik Wagner wrote:

[[NSWorkspace sharedWorkspace] selectFile:path inFileViewerRootedAtPath:[path stringByDeletingLastPathComponent]]

and theres a space in the path then the finder shows nothing and the message returns NO.

do i have to escape the spaces in the path?

With 10.2.1 I found no problems with this and I use this code every day.
BTW: using @"" for the second argument seems to lead to the same result - for me ;-)


Cheers,

Robert

--
--- - .-. -- --
--- / \ ---- tin:b Software
.-. / \ --- .-. __o .-. (i)
/ \ / \ / \ _`\<,_ / \ Robert Fischer
/ \ / \ / \ (*)/ (*) / `---------------
/ `---' `-' `-----------'
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: To all cocoa developers - new cocoa dev forum
  • Next by Date: [ANN] Fraction Formatter source code
  • Previous by thread: Re: Weirdness with NSTableView's scroll bars
  • Next by thread: [ANN] Fraction Formatter source code
  • Index(es):
    • Date
    • Thread