<?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: LSelect</title>
	<atom:link href="http://anoved.net/software/lselect/feed/" rel="self" type="application/rss+xml" />
	<link>http://anoved.net</link>
	<description></description>
	<lastBuildDate>Fri, 12 Mar 2010 18:14:29 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jim DeVona</title>
		<link>http://anoved.net/software/lselect/#comment-83</link>
		<dc:creator>Jim DeVona</dc:creator>
		<pubDate>Sun, 03 May 2009 16:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://anoved.net/?page_id=596#comment-83</guid>
		<description>Thanks for the fixes. For what it&#039;s worth, I&#039;m using version 1.1 on 10.5.6 without any trouble.</description>
		<content:encoded><![CDATA[<p>Thanks for the fixes. For what it&#8217;s worth, I&#8217;m using version 1.1 on 10.5.6 without any trouble.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ddes</title>
		<link>http://anoved.net/software/lselect/#comment-82</link>
		<dc:creator>Ddes</dc:creator>
		<pubDate>Wed, 29 Apr 2009 15:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://anoved.net/?page_id=596#comment-82</guid>
		<description>Thanks for this great script. Unfortunately, the version here doesn&#039;t work for me.  I&#039;m on 10.5.6. There were, as far as I could tell, at least three issues.

1. The basic shell command was broken. Fixed this by replacing
&lt;pre&gt;(&quot;/bin/ls -d &quot; &amp; quoted form of pwd &amp; query)&lt;/pre&gt;
with
&lt;pre&gt;(&quot;/bin/ls &quot; &amp; quoted form of pwd &amp; &quot; &#124; grep -i &quot; &amp; query)&lt;/pre&gt;

2. &lt;code&gt;if not (exists folder pwdAlias) then&lt;/code&gt; gives an error if the insertion location is a file, as happens at least when run from the toolbar in column view. Fixed this by replacing
&lt;pre&gt;	set pwdAlias to insertion location as alias
	if not (exists folder pwdAlias) then
		set pwdAlias to (container of pwdAlias) as alias
	end if
	set pwd to POSIX path of pwdAlias&lt;/pre&gt;
with
&lt;pre&gt;	set pwdAlias to insertion location as alias
	try
		if not (exists folder pwdAlias) then
			set pwdAlias to (container of pwdAlias) as alias
		end if
	on error
		set pwdAlias to (container of pwdAlias) as alias
	end try
	set pwd to POSIX path of pwdAlias&lt;/pre&gt;
which does work, despite being something of a hack.

3. At least after correcting the above two things, the select action was broken, probably because ls didn&#039;t return full paths. Fixed this by inserting
	&lt;pre&gt;set matchpath to pwd &amp; matchpath&lt;/pre&gt;
after
	&lt;pre&gt;repeat with matchpath in paragraphs of matches&lt;/pre&gt;

Now all is well, at least in my minimal testing. Anyway, here&#039;s hoping formatting doesn&#039;t get messed up, and thanks again for this script.

And yeah, I realize you wrote this years ago.</description>
		<content:encoded><![CDATA[<p>Thanks for this great script. Unfortunately, the version here doesn&#8217;t work for me.  I&#8217;m on 10.5.6. There were, as far as I could tell, at least three issues.</p>
<p>1. The basic shell command was broken. Fixed this by replacing</p>
<pre>("/bin/ls -d " &amp; quoted form of pwd &amp; query)</pre>
<p>with</p>
<pre>("/bin/ls " &amp; quoted form of pwd &amp; " | grep -i " &amp; query)</pre>
<p>2. <code>if not (exists folder pwdAlias) then</code> gives an error if the insertion location is a file, as happens at least when run from the toolbar in column view. Fixed this by replacing</p>
<pre>	set pwdAlias to insertion location as alias
	if not (exists folder pwdAlias) then
		set pwdAlias to (container of pwdAlias) as alias
	end if
	set pwd to POSIX path of pwdAlias</pre>
<p>with</p>
<pre>	set pwdAlias to insertion location as alias
	try
		if not (exists folder pwdAlias) then
			set pwdAlias to (container of pwdAlias) as alias
		end if
	on error
		set pwdAlias to (container of pwdAlias) as alias
	end try
	set pwd to POSIX path of pwdAlias</pre>
<p>which does work, despite being something of a hack.</p>
<p>3. At least after correcting the above two things, the select action was broken, probably because ls didn&#8217;t return full paths. Fixed this by inserting</p>
<pre>set matchpath to pwd &amp; matchpath</pre>
<p>after</p>
<pre>repeat with matchpath in paragraphs of matches</pre>
<p>Now all is well, at least in my minimal testing. Anyway, here&#8217;s hoping formatting doesn&#8217;t get messed up, and thanks again for this script.</p>
<p>And yeah, I realize you wrote this years ago.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
