<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Finder and glob</title>
	<atom:link href="http://MacDeveloperTips.com/applescript/finder-and-glob.html/feed" rel="self" type="application/rss+xml" />
	<link>http://MacDeveloperTips.com/applescript/finder-and-glob.html</link>
	<description>Tips, tools and code for iPhone and Mac developers.</description>
	<lastBuildDate>Tue, 01 May 2012 00:21:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Andre</title>
		<link>http://MacDeveloperTips.com/applescript/finder-and-glob.html/comment-page-1#comment-798</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Thu, 25 Jun 2009 23:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/applescript/finder-and-glob.html#comment-798</guid>
		<description>Hi prijker

Unfortunately this is not possible due to a limitation of the Finder&#039;s select command.
This limitation has existed for a while and at the time of 10.5.7 is still there.

It is easy to modify the script to find all the files recursively as it just means modifying the shell script used, but it is not possible to tell the Finder to select all found matches within the same window in list view. The way the select command works at the moment is that it will open a Finder window for each new base path in the matches list and select the file in this opened window.  

There are some Finder properties in its dictionary right now (completely expanded, expandable) and one command (expand) which deal with list and outline views but these are disabled. Once they are enabled they could theoretically be used to work around this issue by means of checking the properties and looping through all expanded folders in a list view and then calling select on a new match on each loop round.

cheers,

Andre

PS: I know this question is a year old :P</description>
		<content:encoded><![CDATA[<p>Hi prijker</p>
<p>Unfortunately this is not possible due to a limitation of the Finder&#8217;s select command.<br />
This limitation has existed for a while and at the time of 10.5.7 is still there.</p>
<p>It is easy to modify the script to find all the files recursively as it just means modifying the shell script used, but it is not possible to tell the Finder to select all found matches within the same window in list view. The way the select command works at the moment is that it will open a Finder window for each new base path in the matches list and select the file in this opened window.  </p>
<p>There are some Finder properties in its dictionary right now (completely expanded, expandable) and one command (expand) which deal with list and outline views but these are disabled. Once they are enabled they could theoretically be used to work around this issue by means of checking the properties and looping through all expanded folders in a list view and then calling select on a new match on each loop round.</p>
<p>cheers,</p>
<p>Andre</p>
<p>PS: I know this question is a year old :P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prijker</title>
		<link>http://MacDeveloperTips.com/applescript/finder-and-glob.html/comment-page-1#comment-271</link>
		<dc:creator>prijker</dc:creator>
		<pubDate>Mon, 09 Jun 2008 12:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/applescript/finder-and-glob.html#comment-271</guid>
		<description>Hello
this is a great script
How could I rewrite it to recursively search through folders?

Vic.</description>
		<content:encoded><![CDATA[<p>Hello<br />
this is a great script<br />
How could I rewrite it to recursively search through folders?</p>
<p>Vic.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

