Re: Inconsistent results from iconForFile

2009-11-28 Thread Sandy McGuffog
Jens, Thanks - QuickLook does indeed consistently give the same previews as Finder. Problem solved! Regards, Sandy On Nov 28, 2009, at 8:41 AM, Jens Alfke wrote: > > On Nov 27, 2009, at 10:31 PM, Sandy McGuffog wrote: > >> For some files, I get a thumbnail of the file, so e.g., for a JPEG,

Re: Inconsistent results from iconForFile

2009-11-27 Thread Jens Alfke
On Nov 27, 2009, at 10:31 PM, Sandy McGuffog wrote: > For some files, I get a thumbnail of the file, so e.g., for a JPEG, I get a > miniature of the actual image in the JPEG. But for other files, even in the > same directory, I get the file type icon, so e.g., for a JPEG, the OS X JPEG > icon.

Inconsistent results from iconForFile

2009-11-27 Thread Sandy McGuffog
Part of my code uses: [[NSWorkspace sharedWorkspace] iconForFile:path]; For some files, I get a thumbnail of the file, so e.g., for a JPEG, I get a miniature of the actual image in the JPEG. But for other files, even in the same directory, I get the file type icon, so e.g., for a JPEG, the OS X