<?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: AppleScript Whose</title>
	<atom:link href="http://mjtsai.com/blog/2003/09/21/applescript_whose/feed/" rel="self" type="application/rss+xml" />
	<link>http://mjtsai.com/blog/2003/09/21/applescript_whose/</link>
	<description></description>
	<lastBuildDate>Fri, 12 Mar 2010 15:17:19 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: tom</title>
		<link>http://mjtsai.com/blog/2003/09/21/applescript_whose/comment-page-1/#comment-396778</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Tue, 26 Aug 2008 11:03:12 +0000</pubDate>
		<guid isPermaLink="false">/?p=655#comment-396778</guid>
		<description>i&#039;ve got a vexing problem w/a whose clause, also:
eyeBundle is a local, then this code

tell application &quot;EyeTV&quot;
   with timeout of 3 seconds
      set eyeTVrec to recordings whose location contains my eyeBundle
...

fails:
EyeTV got an error: Can&#039;t get every recording whose location contains eyeBundle of «script».

but if i un the same code in a test script (not my humungous .app)

Code: Select all
    set eyeBundle to &quot;Exploring Space_ The Quest for Life - 3_7_07 8_05 PM.eyetv&quot;
    tell application &quot;EyeTV&quot;
       with timeout of 3 seconds
          set eyeTVrec to recordings whose location contains my eyeBundle

there&#039;s no problem:

    tell application &quot;EyeTV&quot;
    get every recording whose location contains &quot;Exploring Space_ The Quest for Life - 3_7_07 8_05 PM.eyetv&quot;
    {recording id 1.95008719E+8}
    get location of recording id 1.95008719E+8
    file &quot;toms160gB:Users:Shared:DVR:renamedRecs:EyeTV Archive:Exploring Space_ The Quest for Life - 3_7_07 8_05 PM.eyetv:000000000b9f98cf.eyetvr&quot;
    end tell

wtf???</description>
		<content:encoded><![CDATA[<p>i've got a vexing problem w/a whose clause, also:<br />
eyeBundle is a local, then this code</p>
<p>tell application "EyeTV"<br />
   with timeout of 3 seconds<br />
      set eyeTVrec to recordings whose location contains my eyeBundle<br />
...</p>
<p>fails:<br />
EyeTV got an error: Can't get every recording whose location contains eyeBundle of «script».</p>
<p>but if i un the same code in a test script (not my humungous .app)</p>
<p>Code: Select all<br />
    set eyeBundle to "Exploring Space_ The Quest for Life - 3_7_07 8_05 PM.eyetv"<br />
    tell application "EyeTV"<br />
       with timeout of 3 seconds<br />
          set eyeTVrec to recordings whose location contains my eyeBundle</p>
<p>there's no problem:</p>
<p>    tell application "EyeTV"<br />
    get every recording whose location contains "Exploring Space_ The Quest for Life - 3_7_07 8_05 PM.eyetv"<br />
    {recording id 1.95008719E+8}<br />
    get location of recording id 1.95008719E+8<br />
    file "toms160gB:Users:Shared:DVR:renamedRecs:EyeTV Archive:Exploring Space_ The Quest for Life - 3_7_07 8_05 PM.eyetv:000000000b9f98cf.eyetvr"<br />
    end tell</p>
<p>wtf???</p>
]]></content:encoded>
	</item>
</channel>
</rss>
