<?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>Wed, 16 May 2012 12:48:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Zettt</title>
		<link>http://anoved.net/software/lselect/#comment-1241</link>
		<dc:creator>Zettt</dc:creator>
		<pubDate>Sun, 09 May 2010 08:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://anoved.net/?page_id=596#comment-1241</guid>
		<description>Hi,

Just a little tweak for this script. Some applications prohibit the use of &quot;display dialog&quot;, to make their own application more stable, because they won&#039;t lock up anymore while displaying a dialog. 
Therefore those applications now use 

&lt;code&gt;tell application &quot;System Events&quot;&lt;/code&gt;

So you might want to add this before the display dialog thing (and end tell after, of course). I&#039;ve tested this with Keyboard Maestro and LaunchBar and it works. 
After &quot;tell System Events&quot; it&#039;s also important to activate it to make the dialog come to the foreground. And at the end should be an activate, too, to make Finder become the most foreground application. 
(I guess the display alert at the end also needs readjustment...)

http://dl.dropbox.com/u/6102/tmp/Select_files.zip</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Just a little tweak for this script. Some applications prohibit the use of &#8220;display dialog&#8221;, to make their own application more stable, because they won&#8217;t lock up anymore while displaying a dialog.<br />
Therefore those applications now use </p>
<p><code>tell application "System Events"</code></p>
<p>So you might want to add this before the display dialog thing (and end tell after, of course). I&#8217;ve tested this with Keyboard Maestro and LaunchBar and it works.<br />
After &#8220;tell System Events&#8221; it&#8217;s also important to activate it to make the dialog come to the foreground. And at the end should be an activate, too, to make Finder become the most foreground application.<br />
(I guess the display alert at the end also needs readjustment&#8230;)</p>
<p><a href="http://dl.dropbox.com/u/6102/tmp/Select_files.zip" rel="nofollow">http://dl.dropbox.com/u/6102/tmp/Select_files.zip</a></p>
]]></content:encoded>
	</item>
	<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>

