<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
 <channel>
  <title>Scripts</title>
  <link>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?</link>
  <generator>http://www.eblah.com</generator>
  <description></description>
  <language>en</language>
  <item>
   <title>Resize various-sized photos?</title>
   <link>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?m-1258091883/</link>
   <comments>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?m-1258091883/#num1</comments>
   <description><![CDATA[Three nights ago I got tired of going through the same resize operations on photo after photo, but I don't know how to alter the recorded script so that it will work on images of different sizes.&nbsp;&nbsp;Here is the script, with my comments &amp; questions:<br /><br />from PSPApp import *<br /><br />def ScriptProperties():<br />&nbsp;&nbsp;&nbsp;&nbsp;return {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Author': u'',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Copyright': u'',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Description': u'',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Host': u'Paint Shop Pro X',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Host Version': u'10.03'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />def Do(Environment):<br />&nbsp;&nbsp;&nbsp;&nbsp;# EnableOptimizedScriptUndo<br />&nbsp;&nbsp;&nbsp;&nbsp;App.Do( Environment, 'EnableOptimizedScriptUndo', {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'GeneralSettings': {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ExecutionMode': App.Constants.ExecutionMode.Default, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'AutoActionMode': App.Constants.AutoActionMode.Match, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Version': ((10,0,3),1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;})<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;# Resize<br />&nbsp;&nbsp;&nbsp;&nbsp;App.Do( Environment, 'Resize', {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'AspectRatio': 1.25,&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: seagreen">I'd like to have it apply to any aspect ratio</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'CurrentDimensionUnits': App.Constants.UnitsOfMeasure.Pixels, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'CurrentResolutionUnits': App.Constants.ResolutionUnits.PixelsPerIn, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Height': 1520,&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: seagreen">I'd like to have it apply to any height</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'MaintainAspectRatio': True, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Resample': True, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ResampleType': App.Constants.ResampleType.Bicubic, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ResizeAllLayers': True, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Resolution': 300, <span style="color: seagreen">I don't care about this; how can I leave it out?&nbsp;&nbsp;But it can stay if it must.</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Width': 1900, <span style="color: seagreen">I do want this width, but "longer side" would be better.&nbsp;&nbsp;Better still would be the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capability of changing this number--but running it interactively would do that, yes?</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'GeneralSettings': {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ExecutionMode': App.Constants.ExecutionMode.Default, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'AutoActionMode': App.Constants.AutoActionMode.Match, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Version': ((10,0,3),1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;})<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;# Resize<br />&nbsp;&nbsp;&nbsp;&nbsp;App.Do( Environment, 'Resize', {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'AspectRatio': 1.25,&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: seagreen">I'd like to have it apply to any aspect ratio</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'CurrentDimensionUnits': App.Constants.UnitsOfMeasure.Pixels, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'CurrentResolutionUnits': App.Constants.ResolutionUnits.PixelsPerIn, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Height': 912,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: seagreen">again, any height; it occurs to me that, since PSP records and specifies only the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; current height, that the resize command works on a height-preferred basis; for my needs (web <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; images),&nbsp;&nbsp;width-preferred works much better, and longer-side would work best</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'MaintainAspectRatio': True, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Resample': True, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ResampleType': App.Constants.ResampleType.SmartSize, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ResizeAllLayers': True, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Resolution': 300, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Width': 1140,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: seagreen">I do want this width as I did above.</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'GeneralSettings': {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ExecutionMode': App.Constants.ExecutionMode.Default, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'AutoActionMode': App.Constants.AutoActionMode.Match, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Version': ((10,0,3),1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;})<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;# NormalViewing<br />&nbsp;&nbsp;&nbsp;&nbsp;App.Do( Environment, 'NormalViewing', {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'GeneralSettings': {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ExecutionMode': App.Constants.ExecutionMode.Default, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'AutoActionMode': App.Constants.AutoActionMode.Match, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Version': ((10,0,3),1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;})<br /><br />In brief, I want a resizing script that will maintain the image's aspect ratio as it first resizes (bicubic) to 1900 on longer side, then resizes (smartsize) to 1140 on longer side, and then displays the image at 100%.&nbsp;&nbsp; If the longer-side values can be changed while the script runs, so much the better; but I don't mind having several scripts to use for the several sizes I use most.<br /><br />I tried to make sense of and then use the resizing script that Jerseyguy posted a while back (<a href=http://www.pspug.org/cgi-bin/forum/Blah.pl?b-scripts/m-1252007488/><span style="color: blue">here</span></a>), but I couldn't get it to run because of an "environment not defined" error that prevented the script from loading even though I appended the<br /><span style="color: firebrick">from PSPApp import *<br /><br />def ScriptProperties():<br />&nbsp;&nbsp;&nbsp;&nbsp;return {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Author': u'',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Copyright': u'',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Description': u'',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Host': u'Paint Shop Pro X',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Host Version': u'10.03'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />def Do(Environment):</span><br />from a script that I recorded and that did run.&nbsp;&nbsp;And I've been trying to use the "Paint Shop Pro X Scripting for Script Authors (Revision 7&nbsp;&nbsp; March 10, 2006)" document, but my mind is not working well with it, and I couldn't even find where it tells how to specify "Environment." <br /><br />Re Jerseyguy's script, where he specified<br /><span style="color: firebrick"> ImageInfo = App.Do( Environment, 'ReturnImageInfo',)<br />&nbsp;&nbsp;&nbsp;&nbsp;BrooksWidth = (ImageInfo['Width'] + 0.1 - 0.1)<br />&nbsp;&nbsp;&nbsp;&nbsp;BrooksHeight = (ImageInfo['Height'] + 0.1 - 0.1)<br />&nbsp;&nbsp;&nbsp;&nbsp;BrooksAspect = (BrooksWidth / BrooksHeight)<br />&nbsp;&nbsp;&nbsp;&nbsp;BrooksChange = (825 / BrooksWidth)<br />&nbsp;&nbsp;&nbsp;&nbsp;BrooksNewHeight = (BrooksHeight * BrooksChange)</span>, and you (Willy) suggested a revision so it would be<br /><br /><span style="color: firebrick"> ImageInfo = App.Do( Environment, 'ReturnImageInfo',)<br />&nbsp;&nbsp;&nbsp;&nbsp;BrooksWidth = ImageInfo['Width']*1.0&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;BrooksHeight = ImageInfo['Height']*1.0 <br />&nbsp;&nbsp;&nbsp;&nbsp;BrooksAspect = (BrooksWidth / BrooksHeight)<br />&nbsp;&nbsp;&nbsp;&nbsp;BrooksChange = (825 / BrooksWidth)<br />&nbsp;&nbsp;&nbsp;&nbsp;BrooksNewHeight = (BrooksHeight * BrooksChange)</span> ,&nbsp;&nbsp;I have these questions:<br /><br />(1) Is what I copied immediately above how you would have those lines?<br />(2) Is the "Brooks" in this script an arbitrary identifier?&nbsp;&nbsp;I mean, could it be "PurpleWidth" and "PurpleHeight" all the way through and still work?<br />(3) Isn't this--"ImageInfo = App.Do( Environment, 'ReturnImageInfo',)"--the definition of Environment? is it okay?&nbsp;&nbsp;I'm assuming that that line is what my error message about not having defined Environment refers to, since it's the first instance of "Environment" and the script doesn't even finish loading...&nbsp;&nbsp;How should Environment be defined so a script will run?&nbsp;&nbsp;Or am I missing another, earlier-in-Jerseyguy's-script (which part he didn't post), definition of Environment?<br /><br />Now my headache is coming back&nbsp;&nbsp;&nbsp;&nbsp;<img src="/blahdocs/Smilies/cry.gif" style="vertical-align: middle" alt="" />&nbsp;&nbsp;from just phrasing this stuff.&nbsp;&nbsp;Any help you can give me, including (if you want) telling me where to look in the Scripting-for-Script-Authors document, or any other place (if it's clearly written), I'll <strong>appreciate greatly</strong>.&nbsp;&nbsp;I think I am running up against new-information-overload.&nbsp;&nbsp;I've even had to copy down the steps to follow to get my Nikon to do autobracketing . . .&nbsp;&nbsp;&nbsp;&nbsp;<img src="/blahdocs/Smilies/blush.gif" style="vertical-align: middle" alt="" />&nbsp;&nbsp;&nbsp;&nbsp; (That's really easy compared to this scripting: only one FN button, two setting wheels, and one release-mode button to depress and then turn the thingy up there, but maybe I've left something out.)]]></description>
   <pubDate>Fri, 13 Nov 2009 00:58:03</pubDate>
   <dc:creator>D_Spider</dc:creator>
  </item>
  <item>
   <title>How to allow user to select a tube in a script</title>
   <link>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?m-1258044484/</link>
   <comments>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?m-1258044484/#num1</comments>
   <description><![CDATA[I write scrapbooking scripts, and I'm just wondering if there is a way to code the script so a user can select their own tube to place on an image - I know how to have them choose a tube that I specify, but is there a way that they can choose the tube that they want to use themselves?<br /><br />It seems like it would need to be paused somehow and then they choose their tube, and then click something to continue with the script.<br /><br />Hope someone can help <img src="/blahdocs/Smilies/smiley.gif" style="vertical-align: middle" alt="" /><br /><br />Joanne]]></description>
   <pubDate>Thu, 12 Nov 2009 11:48:04</pubDate>
   <dc:creator>jojomart</dc:creator>
  </item>
  <item>
   <title>Make tag script crashes PSP X2 Ultimate </title>
   <link>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?m-1257454544/</link>
   <comments>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?m-1257454544/#num1</comments>
   <description><![CDATA[I am having the same problem as deb528us.&nbsp;&nbsp;My make tag script works fine in PSP X but when I try to use it in PSP X2 Ultimate it just locks up.&nbsp;&nbsp;I am using Windows XP.&nbsp;&nbsp;Any help would be greatly appreciated.&nbsp;&nbsp; <img src="/blahdocs/Smilies/undecided.gif" style="vertical-align: middle" alt="" />]]></description>
   <pubDate>Thu, 5 Nov 2009 15:55:44</pubDate>
   <dc:creator>Ginni Morey</dc:creator>
  </item>
  <item>
   <title>resizing &quot;if&quot;</title>
   <link>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?m-1254756218/</link>
   <comments>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?m-1254756218/#num1</comments>
   <description><![CDATA[I'm looking for a script to resize a batch of jpg files "if" the width is 701 pixels or larger. If the width is 700 pixels or less, the image needs to retain it's original size.<br /><br />Anything 701 pixels wide or larger needs to be resized (lock aspect ratio) to 700 pixels wide.<br /><br />Thanks,<br />Paige]]></description>
   <pubDate>Mon, 5 Oct 2009 11:23:38</pubDate>
   <dc:creator>rnguslo</dc:creator>
  </item>
  <item>
   <title>Help with resizing script for a batch process</title>
   <link>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?m-1252007488/</link>
   <comments>http://pspug.org/cgi-bin/forum/Blah.pl/Blah.pl?m-1252007488/#num1</comments>
   <description><![CDATA[Hi all,<br /><br />I have thousands of pictures I need resized to 825 pixels wide, while locking the aspect ratio.<br />The images are all different sizes, and all different aspect ratios.<br /><br />To do this with 1 image I can do.<br />I can also create a script to do this.<br /><br />But when I run the script on the whole batch of images, it locks the aspect ratio of the image that I recorded the script with, and imposes this on all images.&nbsp;&nbsp;So some images appear squished or stretched<br />I tried playing around with the script itself, to no avail.<br /><br />Can anyone help?<br />Here's the part of the script for the resize...<br /><br /># Resize<br />&nbsp;&nbsp;&nbsp;&nbsp;App.Do( Environment, 'Resize', {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'AspectRatio': 2.42907, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'CurrentDimensionUnits': App.Constants.UnitsOfMeasure.Pixels, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'CurrentResolutionUnits': App.Constants.ResolutionUnits.PixelsPerIn, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Height': 340, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'MaintainAspectRatio': True, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Resample': True, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ResampleType': App.Constants.ResampleType.SmartSize, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ResizeAllLayers': True, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Resolution': 300, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Width': 825, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'SharpnessValue': 50, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'AdvancedMode': True, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'GeneralSettings': {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'ExecutionMode': App.Constants.ExecutionMode.Default, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'AutoActionMode': App.Constants.AutoActionMode.Match, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Version': ((12,5,0),1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;})<br /><br />You can see the height shows 340, which is only for the part I created the script on.&nbsp;&nbsp;I tried removing this line, but it didn't solve my problem.]]></description>
   <pubDate>Thu, 3 Sep 2009 15:51:28</pubDate>
   <dc:creator>jerseyguy</dc:creator>
  </item>
 </channel>
</rss>