Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Re: Hack to search multiple folders' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Re: Hack to search multiple folders
Authored by: ammacdon on Thu, Oct 30 2008 at 12:50PM PDT
thanks Aikinai! that worked perfectly. i used it to search two specific folders on an external drive, so i set the CurrentFolderPath array to just the enclosing folder, and set SearchScopes and FXScopeArrayOfPaths arrays to the folders inside.

[ Reply to This | # ]
Re: Hack to search multiple folders
Authored by: ammacdon on Fri, Dec 12 2008 at 1:01PM PST
also, i forgot to note that the smart folder text file doesn't like escaped paths, e.g.: the kind you get when you drag a file in the terminal:

Bad:

		<key>SearchScopes</key>
		<array>
			<string>/Volumes/external\ hard\ drive/myfolder</string>
		</array>


Good:

		<key>SearchScopes</key>
		<array>
			<string>/Volumes/external hard drive/myfolder</string>
		</array>


[ Reply to This | # ]