<?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: Batch Search-n-Replace Paths</title>
	<atom:link href="http://aescripts.com/batch-search-n-replace-paths/feed/" rel="self" type="application/rss+xml" />
	<link>http://aescripts.com/batch-search-n-replace-paths/</link>
	<description>The definitive collection of scripts and plugins for Adobe After Effects</description>
	<lastBuildDate>Thu, 17 May 2012 09:10:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Lloyd Alvarez</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-155622</link>
		<dc:creator>Lloyd Alvarez</dc:creator>
		<pubDate>Fri, 04 May 2012 22:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-155622</guid>
		<description>We just posted a new version that support UTF-8 so check to see if it solves your issue.</description>
		<content:encoded><![CDATA[<p>We just posted a new version that support UTF-8 so check to see if it solves your issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd Alvarez</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-154759</link>
		<dc:creator>Lloyd Alvarez</dc:creator>
		<pubDate>Wed, 02 May 2012 19:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-154759</guid>
		<description>Can you send your log to  &lt;a href=&quot;http://mailhide.recaptcha.net/d?k=01zA7A8-msIfO1z03eLsQfwQ==&amp;c=CHiYv5Oh0nY0We0mBuFYunfEs1jmnJCA6n_6N6JzUI8=&quot; rel=&quot;nofollow&quot;&gt;support&lt;/a&gt; and we can see if we can see what the issue is.</description>
		<content:encoded><![CDATA[<p>Can you send your log to  <a href="http://mailhide.recaptcha.net/d?k=01zA7A8-msIfO1z03eLsQfwQ==&#038;c=CHiYv5Oh0nY0We0mBuFYunfEs1jmnJCA6n_6N6JzUI8=" rel="nofollow">support</a> and we can see if we can see what the issue is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brake</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-154757</link>
		<dc:creator>Brake</dc:creator>
		<pubDate>Wed, 02 May 2012 19:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-154757</guid>
		<description>I&#039;m getting this same error on windows 7 with. I don&#039;t have any strange fonts. The log seems to be fine.  There is AE type used in the project, but its just NOT an option to go through this huge project to delete it out.   Anyone else have another solution for this??</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting this same error on windows 7 with. I don&#8217;t have any strange fonts. The log seems to be fine.  There is AE type used in the project, but its just NOT an option to go through this huge project to delete it out.   Anyone else have another solution for this??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martinos</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-151179</link>
		<dc:creator>martinos</dc:creator>
		<pubDate>Mon, 23 Apr 2012 11:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-151179</guid>
		<description>First off,

GREAT script!!
Use it a lot here..

Second:
Vegard, i had the same issue as you. Somewhere in the .aep file youre trying to batch-search-n-replace you have text in a composition done with the text tool.
This was the source of my problems, i deleted the text and it works fine.
You on the other hand should you not want to delete your text should use another font.
The font is definately the issue here. As far as i can tell.

Best of luck Vegard</description>
		<content:encoded><![CDATA[<p>First off,</p>
<p>GREAT script!!<br />
Use it a lot here..</p>
<p>Second:<br />
Vegard, i had the same issue as you. Somewhere in the .aep file youre trying to batch-search-n-replace you have text in a composition done with the text tool.<br />
This was the source of my problems, i deleted the text and it works fine.<br />
You on the other hand should you not want to delete your text should use another font.<br />
The font is definately the issue here. As far as i can tell.</p>
<p>Best of luck Vegard</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vegard</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-144501</link>
		<dc:creator>Vegard</dc:creator>
		<pubDate>Fri, 06 Apr 2012 16:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-144501</guid>
		<description>Hi,
I&#039;m having trouble using your script. I think it might be because i have a Norwegian keyboard, and there are some local filenames in my project files.
I&#039;m switching path from search: /j/xxx/ to replace: /d/yyy/zzz/xxx/  (xml: j:\xxx\ to d:\yyy\zzz\xxx\)
The &#039;test mode&#039; runs fine it seems, but not the real thing.
When using XML i get error when opening file afterwards: &quot;Invalid token, not well-formed (83::2)&quot; and &quot;unknown BIB error. Invalid token, not well-formed, AXEParser, 1004. (83::3)&quot; and then unable to import file....as project (bad format or not readable)

When running without XML it opens, but nothing has been changed.  
and the logfiles are full of these things; lÃ¸ and Ã¥ and Ã¦ and etc, where my norwegian letters like æ,ø,å should be.

Any help on this?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m having trouble using your script. I think it might be because i have a Norwegian keyboard, and there are some local filenames in my project files.<br />
I&#8217;m switching path from search: /j/xxx/ to replace: /d/yyy/zzz/xxx/  (xml: j:\xxx\ to d:\yyy\zzz\xxx\)<br />
The &#8216;test mode&#8217; runs fine it seems, but not the real thing.<br />
When using XML i get error when opening file afterwards: &#8220;Invalid token, not well-formed (83::2)&#8221; and &#8220;unknown BIB error. Invalid token, not well-formed, AXEParser, 1004. (83::3)&#8221; and then unable to import file&#8230;.as project (bad format or not readable)</p>
<p>When running without XML it opens, but nothing has been changed.<br />
and the logfiles are full of these things; lÃ¸ and Ã¥ and Ã¦ and etc, where my norwegian letters like æ,ø,å should be.</p>
<p>Any help on this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd Alvarez</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-127758</link>
		<dc:creator>Lloyd Alvarez</dc:creator>
		<pubDate>Thu, 26 Jan 2012 12:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-127758</guid>
		<description>If there are the same name then you can just move frames 301-500 to a different folder.  After Effects by default uses the entire sequence unless you used something like Immigration to bring in only a region of the sequence.  You can&#039;t do this by hand so most like you did not do this.</description>
		<content:encoded><![CDATA[<p>If there are the same name then you can just move frames 301-500 to a different folder.  After Effects by default uses the entire sequence unless you used something like Immigration to bring in only a region of the sequence.  You can&#8217;t do this by hand so most like you did not do this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-127740</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Thu, 26 Jan 2012 10:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-127740</guid>
		<description>Hi
Great script but i&#039;im trying to replace footage of psd files (sequence frames 0000-0500) with footage of psd files (sequence frames 0000-0300) 
How to do it?

Greg</description>
		<content:encoded><![CDATA[<p>Hi<br />
Great script but i&#8217;im trying to replace footage of psd files (sequence frames 0000-0500) with footage of psd files (sequence frames 0000-0300)<br />
How to do it?</p>
<p>Greg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-118032</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 07 Dec 2011 11:30:57 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-118032</guid>
		<description>This is a great little script.  We&#039;ve been using it to transfer files between PC and Mac and found it very helpful.  We have however come across a couple of issues that we&#039;ve struggled with.  

1. When dealing with PSD Layers the script seems to change the interpretation method so whereas before the using the script we had individual layers from the PSD after processing the file each individual layer now holds the entire PSD.  This is particularly frustrating but I don&#039;t know if we&#039;re doing something wrong when we&#039;re processing the files.

2. the script doesn&#039;t change the render Output path, this would be an incredibly useful option for us.  At the moment we have to change this manually after converting the file.

Still a very useful script though!

Nick</description>
		<content:encoded><![CDATA[<p>This is a great little script.  We&#8217;ve been using it to transfer files between PC and Mac and found it very helpful.  We have however come across a couple of issues that we&#8217;ve struggled with.  </p>
<p>1. When dealing with PSD Layers the script seems to change the interpretation method so whereas before the using the script we had individual layers from the PSD after processing the file each individual layer now holds the entire PSD.  This is particularly frustrating but I don&#8217;t know if we&#8217;re doing something wrong when we&#8217;re processing the files.</p>
<p>2. the script doesn&#8217;t change the render Output path, this would be an incredibly useful option for us.  At the moment we have to change this manually after converting the file.</p>
<p>Still a very useful script though!</p>
<p>Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd Alvarez</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-113177</link>
		<dc:creator>Lloyd Alvarez</dc:creator>
		<pubDate>Tue, 08 Nov 2011 16:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-113177</guid>
		<description>To do a wildcard search you&#039;ll need to use Regex.  If you tell me exactly what your wildcard search is I can write you a regex expression you can use.</description>
		<content:encoded><![CDATA[<p>To do a wildcard search you&#8217;ll need to use Regex.  If you tell me exactly what your wildcard search is I can write you a regex expression you can use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilhelm</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-113119</link>
		<dc:creator>Wilhelm</dc:creator>
		<pubDate>Tue, 08 Nov 2011 10:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-113119</guid>
		<description>i am trying to replace footage that has another sequence count (i.e. sewuence frame 20-100, replacing with sequence frame 50-200).
how can i do that? 
i was trying to do with an asterix in the search and replace string but i wont work. any ideas?</description>
		<content:encoded><![CDATA[<p>i am trying to replace footage that has another sequence count (i.e. sewuence frame 20-100, replacing with sequence frame 50-200).<br />
how can i do that?<br />
i was trying to do with an asterix in the search and replace string but i wont work. any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd Alvarez</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-96959</link>
		<dc:creator>Lloyd Alvarez</dc:creator>
		<pubDate>Mon, 22 Aug 2011 19:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-96959</guid>
		<description>Great, thanks for sharing that and glad you got it working.</description>
		<content:encoded><![CDATA[<p>Great, thanks for sharing that and glad you got it working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-96956</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 22 Aug 2011 19:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-96956</guid>
		<description>I believe I have gotten it to work. Although stripping the name wasn&#039;t necessary. Using the item(m).file variable gave the wrong path, but using item(m).file.name gave the correct path. So this fix seems to work:

Replace:
var myProjItemPath = unescape(myProj.item(m).file); 

With:
var myProjItemPath = unescape(myProj.item(m).file.name); 

At least on my computer with Mac OSX with CS3...</description>
		<content:encoded><![CDATA[<p>I believe I have gotten it to work. Although stripping the name wasn&#8217;t necessary. Using the item(m).file variable gave the wrong path, but using item(m).file.name gave the correct path. So this fix seems to work:</p>
<p>Replace:<br />
var myProjItemPath = unescape(myProj.item(m).file); </p>
<p>With:<br />
var myProjItemPath = unescape(myProj.item(m).file.name); </p>
<p>At least on my computer with Mac OSX with CS3&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd Alvarez</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-96954</link>
		<dc:creator>Lloyd Alvarez</dc:creator>
		<pubDate>Mon, 22 Aug 2011 19:26:12 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-96954</guid>
		<description>That is definitely a bug.  The CS3 scripting api had many bugs that were fixed in CS4.  So are you able to get it working with your workaround?</description>
		<content:encoded><![CDATA[<p>That is definitely a bug.  The CS3 scripting api had many bugs that were fixed in CS4.  So are you able to get it working with your workaround?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-96953</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 22 Aug 2011 19:18:17 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-96953</guid>
		<description>I was looking into the replace javascript command along with your script and I think there is something a little more subtle going on.

I ran this code and the replace worked fine even with the source folder missing:
var items = app.project.selection;
var layer = items[0];
replacePath = &quot;/Users/user/Desktop/AFX_Projects/Art2/FullskiesBlueClouded0004_1_M.jpg&quot;;
replaceFile = new File(replacePath);
layer.replace(replaceFile);

However, looking at your code, the search/replace gets run on the item(m).file text. However, this property seems to give something like this:
/Applications/Adobe%20After%20Effects%20CS3/Adobe%20After%20Effects%20CS3.app/Contents/MacOS/GFX-Work-i05:Users:user:Desktop:AFX_Projects:Art2:FullskiesBlueClouded0004_1_M.jpg

I don&#039;t know why the location of After Effects is found in the file variable, however it explains why the search and replace fails, because when anything is replaced, the location is still included, and that is no longer a proper path.

Maybe stripping the executable location from the item(m).file variable before running the search/replace will help?</description>
		<content:encoded><![CDATA[<p>I was looking into the replace javascript command along with your script and I think there is something a little more subtle going on.</p>
<p>I ran this code and the replace worked fine even with the source folder missing:<br />
var items = app.project.selection;<br />
var layer = items[0];<br />
replacePath = &#8220;/Users/user/Desktop/AFX_Projects/Art2/FullskiesBlueClouded0004_1_M.jpg&#8221;;<br />
replaceFile = new File(replacePath);<br />
layer.replace(replaceFile);</p>
<p>However, looking at your code, the search/replace gets run on the item(m).file text. However, this property seems to give something like this:<br />
/Applications/Adobe%20After%20Effects%20CS3/Adobe%20After%20Effects%20CS3.app/Contents/MacOS/GFX-Work-i05:Users:user:Desktop:AFX_Projects:Art2:FullskiesBlueClouded0004_1_M.jpg</p>
<p>I don&#8217;t know why the location of After Effects is found in the file variable, however it explains why the search and replace fails, because when anything is replaced, the location is still included, and that is no longer a proper path.</p>
<p>Maybe stripping the executable location from the item(m).file variable before running the search/replace will help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd Alvarez</title>
		<link>http://aescripts.com/batch-search-n-replace-paths/#comment-96940</link>
		<dc:creator>Lloyd Alvarez</dc:creator>
		<pubDate>Mon, 22 Aug 2011 17:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://aescripts.com/?p=1555#comment-96940</guid>
		<description>I am afraid you might be out of luck.  CS3 was very limited in it&#039;s flexibility.  To replace paths the script has to do it through the &quot;replace footage&quot; command in AE which fails if the path is not valid.  I would  suggest upgrading. CS4 and above are much more capable especially for this high level kind of stuff.  Also, much faster.</description>
		<content:encoded><![CDATA[<p>I am afraid you might be out of luck.  CS3 was very limited in it&#8217;s flexibility.  To replace paths the script has to do it through the &#8220;replace footage&#8221; command in AE which fails if the path is not valid.  I would  suggest upgrading. CS4 and above are much more capable especially for this high level kind of stuff.  Also, much faster.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

