<?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: maxscript open bitmaps in photoshop.</title>
	<atom:link href="http://www.just-joshing.com/2009/06/03/open-bitmaps-in-photoshop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.just-joshing.com/2009/06/03/open-bitmaps-in-photoshop/</link>
	<description>in 3D!</description>
	<lastBuildDate>Wed, 10 Feb 2010 10:44:09 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://www.just-joshing.com/2009/06/03/open-bitmaps-in-photoshop/comment-page-1/#comment-148</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 09 Sep 2009 15:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=46#comment-148</guid>
		<description>Ok,

In the interest of compatability I&#039;ve changed one of the lines of code in the script;

&lt;code&gt;                    for b in newbitmaps do appendIfUnique bitmaps b&lt;/code&gt;

with:

&lt;code&gt;                    for b in newbitmaps do if (finditem bitmaps b==0) then append bitmaps b&lt;/code&gt;

the function &lt;em&gt;appendifunique &lt;/em&gt;was added in Max2008 and this change will allow the script to work in earlier version.

J.</description>
		<content:encoded><![CDATA[<p>Ok,</p>
<p>In the interest of compatability I&#8217;ve changed one of the lines of code in the script;</p>
<p><code>                    for b in newbitmaps do appendIfUnique bitmaps b</code></p>
<p>with:</p>
<p><code>                    for b in newbitmaps do if (finditem bitmaps b==0) then append bitmaps b</code></p>
<p>the function <em>appendifunique </em>was added in Max2008 and this change will allow the script to work in earlier version.</p>
<p>J.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.just-joshing.com/2009/06/03/open-bitmaps-in-photoshop/comment-page-1/#comment-25</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 21 Jul 2009 13:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=46#comment-25</guid>
		<description>Hello Michael,

Thanks for your comment. You&#039;re right, I need to test to see if the file exists before sending it to photoshop to avoid any errors.
I prefer to use the inbuilt max command doesfileexist:

&lt;code&gt;for b in bitmaps do if (doesfileexist b.filename) then pshop.open b.filename else (print b.filename)&lt;/code&gt;

I&#039;ll adjust the script above and the download.

Josh.</description>
		<content:encoded><![CDATA[<p>Hello Michael,</p>
<p>Thanks for your comment. You&#8217;re right, I need to test to see if the file exists before sending it to photoshop to avoid any errors.<br />
I prefer to use the inbuilt max command doesfileexist:</p>
<p><code>for b in bitmaps do if (doesfileexist b.filename) then pshop.open b.filename else (print b.filename)</code></p>
<p>I&#8217;ll adjust the script above and the download.</p>
<p>Josh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharpe</title>
		<link>http://www.just-joshing.com/2009/06/03/open-bitmaps-in-photoshop/comment-page-1/#comment-20</link>
		<dc:creator>Michael Sharpe</dc:creator>
		<pubDate>Thu, 16 Jul 2009 01:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=46#comment-20</guid>
		<description>Its probably a good idea to add a check to see if the texture paths are valid before sending them to photoshop

for b in bitmaps do
(
	fileExists = getfiles b.filename
	format &quot;Fileexists : % \n&quot; fileExists
	if(fileExists.Count &gt; 0) then
	(
		pshop.open b.filename
	)
)

cheers
Mike</description>
		<content:encoded><![CDATA[<p>Its probably a good idea to add a check to see if the texture paths are valid before sending them to photoshop</p>
<p>for b in bitmaps do<br />
(<br />
	fileExists = getfiles b.filename<br />
	format &#8220;Fileexists : % \n&#8221; fileExists<br />
	if(fileExists.Count &gt; 0) then<br />
	(<br />
		pshop.open b.filename<br />
	)<br />
)</p>
<p>cheers<br />
Mike</p>
]]></content:encoded>
	</item>
</channel>
</rss>
