Processing Smart Folders

  • My application can process a folder (directory) in batch mode - i.e.
    it can select a folder in the open file dialog window and access all
    the files in a selected folder and then perform hideous operations on
    them. How would I go about accessing a smart folder and doing the
    same thing. In the open file dialog window, the open button is
    disabled when a smart folder is selected (and I am looking for a
    directory).

    I realize that a smart folder is not a directory, but are there any
    capabilities in Cocoa to support smart folders?

    TIA for any info on this,
    Jim Merkel
  • On 26/10/06, James Merkel <jmerkel2...> wrote:
    > I realize that a smart folder is not a directory, but are there any
    > capabilities in Cocoa to support smart folders?

    I don't think there's any easy API for getting access to them, but
    there's a good description of them and some sample code for getting at
    them at <http://cocoadev.com/index.pl?SmartFolders>.

    -Phil
  • Thanks for the link. I'll take a look at it.

    Jim Merkel

    On Oct 26, 2006, at 12:18 AM, Philip Q wrote:

    > On 26/10/06, James Merkel <jmerkel2...> wrote:
    >> I realize that a smart folder is not a directory, but are there any
    >> capabilities in Cocoa to support smart folders?
    >
    > I don't think there's any easy API for getting access to them, but
    > there's a good description of them and some sample code for getting at
    > them at <http://cocoadev.com/index.pl?SmartFolders>.
    >
    > -Phil
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today