3 Replies Latest reply: Aug 2, 2011 9:04 AM by ScottRiqui
ScottRiqui Level 1 Level 1 (5 points)

When I select the "All My Files" view in a Finder window, it correctly shows my files sorted by file type "Presentations", "PDF documents", "Images", etcetera.  The problem is that many, if not most, of my files aren't listed. 

 

For example, on the "PDF documents" row, the right-hand side of the Finder window says "Show all (58)" when I in fact have over 700 .PDF files.  Likewise, the Finder window only shows one file of the type "Presentations" and one file of the type "Spreadsheets", even though I have almost 150 of each.  If I perform a Spotlight search on ".ppt" or ".xls", all of my files show up correctly and are identified correctly by type (i.e. "Microsoft Powerpoint Presentation" or "Microsoft Exel Workbook"), so I know that Lion knows what type of files these are.  So why is only one of each showing up in the "All My Files" view?

 

I've also noticed that the only images that show up in "All My Files" are the ones that *aren't* in iPhoto.  Likewise, the only music files that show up in "All My Files" are the ones that *aren't* in iTunes, but I'm guessing that this is because I'm supposed to access those files through iPhoto or iTunes rather than through the Finder?

 

Any help would be appreciated.  I can actually see the "All My Files" view as being a useful feature, but only if it would in fact show all of my files.

 

Thanks,

Scott Gardner


Macbook Pro 15C2D 2.16, Mac OS X (10.5), 3GB RAM
  • WaterGlobe43 Level 1 Level 1 (0 points)

    Ongiong thread here:

     

    https://discussions.apple.com/thread/3195914

     

    Unfortunatly, no answer yet....

  • ssssn0027 Level 1 Level 1 (0 points)

    I can help you.

    but I am not good at english.

    so I am sorry.

     

    anyway,

    the solution is that edit your file which path is "/System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/myDocum ents.cannedSearch"

     

    for example

    I need to search my "data" partition.

    it must be mounted in "/Volumes/data"

    and do this

     

    ==========================

    .

    .

    .

     

    <dict>

                    <key>FinderFilesOnly</key>

                    <true/>

                    <key>RawQuery</key>

                    <string>(true) &amp;&amp; (((kMDItemContentTypeTree = public.content)))</string>

                    <key>SearchScopes</key>

                    <array>

                      <string>~/</string>

                      <string>-Library</string>

                      <string>-Music/iTunes</string>

                      <string>-Documents/Steam Content</string>

                      <string>~/Library/Mobile Documents</string>

                      <string>/Volumes/data</string>            #############    Import this line    #############

                    </array>

     

    .

    .

    .

     

    <integer>1396925814</integer>

                    <key>FXScopeArrayOfPaths</key>

                    <array>

                      <string>~/</string>

                      <string>-Library</string>

                      <string>-Music/iTunes</string>

                      <string>-Documents/Steam Content</string>

                      <string>~/Library/Mobile Documents</string>

                      <string>/Volumes/data</string>

                      <string>/Volumes/data</string>            #############    Import this line    #############

                    </array>

            </dict>

    .

    .

    .

     

    ==================================

     

    and you can find what you want to look in you "all my files".

    I am sorry that I am not good at english.

  • ScottRiqui Level 1 Level 1 (5 points)

    Thank you so much for this.  It won't solve all of our problems, because sometimes we'll have two files in the exact same folder, and one will show up in "All My Files" but the other one won't.  Still, this will be helpful for adding additional folders to the canned search.

     

    One question - what program are you using to edit the "myDocuments.CannedSearch" file?  I tried to open it in a text editor and just saw a bunch of foreign language subfolders.  I couldn't find where to add keys and strings.

     

    Thanks again!