<?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: Expressions and External Documents &#8211; Revised for CS4</title>
	<atom:link href="http://www.graymachine.com/2009/04/expressions-and-external-documents-revisited/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/</link>
	<description>Tutorials &#38; Resources for the Motion Design Community. After Effects &#38; Cinema 4D.</description>
	<lastBuildDate>Thu, 09 Sep 2010 16:30:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: chromaKiki</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-1820</link>
		<dc:creator>chromaKiki</dc:creator>
		<pubDate>Fri, 13 Aug 2010 12:50:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-1820</guid>
		<description>On my Win 7 (64 bit) this is how expression works like a charm:

try {
myPath = &quot;c:\\Temp\\testText.txt&quot;;
$.evalFile (myPath);
eval(thisComp.name)[0];
}
catch(err){&quot;Not found: &quot; + myPath};

A big Thanks to guys setting this up and sharing.</description>
		<content:encoded><![CDATA[<p>On my Win 7 (64 bit) this is how expression works like a charm:</p>
<p>try {<br />
myPath = &#8220;c:\\Temp\\testText.txt&#8221;;<br />
$.evalFile (myPath);<br />
eval(thisComp.name)[0];<br />
}<br />
catch(err){&#8220;Not found: &#8221; + myPath};</p>
<p>A big Thanks to guys setting this up and sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd Alvarez</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-1296</link>
		<dc:creator>Lloyd Alvarez</dc:creator>
		<pubDate>Mon, 17 May 2010 19:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-1296</guid>
		<description>Make sure you have the full path to your file including the drive or volume.</description>
		<content:encoded><![CDATA[<p>Make sure you have the full path to your file including the drive or volume.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd Alvarez</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-1295</link>
		<dc:creator>Lloyd Alvarez</dc:creator>
		<pubDate>Mon, 17 May 2010 19:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-1295</guid>
		<description>The reason you use -1 is because the the indexOf() function will return the index of the matching string unless it can&#039;t find it in which case it will return -1
http://www.w3schools.com/jsref/jsref_IndexOf.asp</description>
		<content:encoded><![CDATA[<p>The reason you use -1 is because the the indexOf() function will return the index of the matching string unless it can&#8217;t find it in which case it will return -1<br />
<a href="http://www.w3schools.com/jsref/jsref_IndexOf.asp" rel="nofollow">http://www.w3schools.com/jsref/jsref_IndexOf.asp</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-1168</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 16 Apr 2010 16:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-1168</guid>
		<description>&quot;Open 2&quot; is not a variable.  It sees you saying &quot;Open&quot; and then &quot;2=..&quot; which does not make sense. Also, do not use smart quotes. You have ′ instead of &#039;</description>
		<content:encoded><![CDATA[<p>&#8220;Open 2&#8243; is not a variable.  It sees you saying &#8220;Open&#8221; and then &#8220;2=..&#8221; which does not make sense. Also, do not use smart quotes. You have ′ instead of &#8216;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pw</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-1154</link>
		<dc:creator>pw</dc:creator>
		<pubDate>Mon, 12 Apr 2010 14:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-1154</guid>
		<description>I get this error when attempting to duplicate the layer and add to the text file:

&quot;After Effects warning: Expected: ; Expression disabled.

Error occured at line 3.
Comp: &#039;Open&#039;
Layer: 1 (&#039;&#039;)
Property: &#039;Source Text&#039;
&quot;

My file looks like this:

Open = &#039;Test 1&#039;

Open 2 = &#039;Test 2&#039; 
;</description>
		<content:encoded><![CDATA[<p>I get this error when attempting to duplicate the layer and add to the text file:</p>
<p>&#8220;After Effects warning: Expected: ; Expression disabled.</p>
<p>Error occured at line 3.<br />
Comp: &#8216;Open&#8217;<br />
Layer: 1 (&#8221;)<br />
Property: &#8216;Source Text&#8217;<br />
&#8221;</p>
<p>My file looks like this:</p>
<p>Open = &#8216;Test 1&#8242;</p>
<p>Open 2 = &#8216;Test 2&#8242;<br />
;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-1133</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Mon, 05 Apr 2010 14:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-1133</guid>
		<description>Perfect. Thanks!</description>
		<content:encoded><![CDATA[<p>Perfect. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-1122</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 02 Apr 2010 21:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-1122</guid>
		<description>for some reason, the path in Windows requires two slashes \\ for each \. Why? I dunno. In your case, I think there should be &quot;2&quot;, which would result in needing 4. Try that?</description>
		<content:encoded><![CDATA[<p>for some reason, the path in Windows requires two slashes \\ for each \. Why? I dunno. In your case, I think there should be &#8220;2&#8243;, which would result in needing 4. Try that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-1121</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Fri, 02 Apr 2010 20:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-1121</guid>
		<description>I&#039;ve been working on this all day. Here is the code I have for my Windows 7 platform on AE CS4:

myPath = &#039;C:\Expressions\data.txt&#039;;
$.evalFile (myPath);
eval(thisComp.name);

I keep getting an error saying folder or file not found, even though this is the exact path. I&#039;ve tried a few variations, including one that was almost exactly the prescribed code, but I get the same error. 

Any ideas why?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been working on this all day. Here is the code I have for my Windows 7 platform on AE CS4:</p>
<p>myPath = &#8216;C:\Expressions\data.txt&#8217;;<br />
$.evalFile (myPath);<br />
eval(thisComp.name);</p>
<p>I keep getting an error saying folder or file not found, even though this is the exact path. I&#8217;ve tried a few variations, including one that was almost exactly the prescribed code, but I get the same error. </p>
<p>Any ideas why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kunda</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-960</link>
		<dc:creator>kunda</dc:creator>
		<pubDate>Sun, 14 Feb 2010 15:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-960</guid>
		<description>i can&#039;t download a preformatted text document and spreadsheet cuz&#039; the kink is over i think</description>
		<content:encoded><![CDATA[<p>i can&#8217;t download a preformatted text document and spreadsheet cuz&#8217; the kink is over i think</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jefaismonsite</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-914</link>
		<dc:creator>jefaismonsite</dc:creator>
		<pubDate>Sat, 30 Jan 2010 14:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-914</guid>
		<description>Merci pour cette article, un info utile merci ,</description>
		<content:encoded><![CDATA[<p>Merci pour cette article, un info utile merci ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Click Track Video Pt. 3 - ChurchMediaDesign.tv</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-881</link>
		<dc:creator>Click Track Video Pt. 3 - ChurchMediaDesign.tv</dc:creator>
		<pubDate>Tue, 19 Jan 2010 16:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-881</guid>
		<description>[...] How to: setting up a extrenal text document [...]</description>
		<content:encoded><![CDATA[<p>[...] How to: setting up a extrenal text document [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.graymachine.com/wp10/2009/04/expressions-and-external-documents-revisited/comment-page-1/#comment-447</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 11 Oct 2009 17:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.graymachine.com/?p=780#comment-447</guid>
		<description>@ nikits

You are using smart quotes. This will cause an error.  AE does not recognize these as quotes.</description>
		<content:encoded><![CDATA[<p>@ nikits</p>
<p>You are using smart quotes. This will cause an error.  AE does not recognize these as quotes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

