• 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: unreliability of NSWorkspace selectFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unreliability of NSWorkspace selectFile


  • Subject: Re: unreliability of NSWorkspace selectFile
  • From: Manfred Schwind <email@hidden>
  • Date: Tue, 7 Mar 2006 08:14:49 +0100

I would like to reliably reveal *and* select a file/folder in the Finder.

I am using [[NSWorkspace sharedWorkspace] selectFile:path
inFileViewerRootedAtPath:folder].

It isn't reliable. Sometimes it selects the file; sometimes it selects the
containing folder instead.

This is a behaviour that appeared starting with Tiger. It seems to be a bug in the Finder, because it affects all applications that do a "Reveal in Finder".
In Panther this worked well.


Regards,
Mani

_______________________________________________
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: 
 >unreliability of NSWorkspace selectFile (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: drag & drop and the "+" sign
  • Next by Date: sudo shutdown -c now
  • Previous by thread: Re: unreliability of NSWorkspace selectFile
  • Next by thread: Re: unreliability of NSWorkspace selectFile
  • Index(es):
    • Date
    • Thread