<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<!-- Need to translate the title. -->
<TITLE>Run a script on multiple files</TITLE>
<!-- Do NOT edit from here... -->
<SCRIPT LANGUAGE="JavaScript">
<!--

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->

<!--

//  The "refresh" function implementations are identical
//  to our regular "JavaScript-Refresh" example.  The only
//  difference from our JavaScript Refresh example is
//  we do not have a doLoad function that starts our
//  refresh timer (since we use a refresh button).

var sURL = unescape(window.location.pathname);

function refresh()
{
    window.location.href = sURL;
}

<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//-->
</SCRIPT>
<!-- ... to here. -->

<!-- This is the link to the Cascading Style Sheet (CSS) file. -->
<LINK REL="stylesheet" HREF="css/bpstyles.css" TYPE="text/css">
</HEAD>
<body TEXT="#000000" TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" BGCOLOR="#FFFFFF">
<TABLE WIDTH="94%" BORDER="0" ALIGN="CENTER">
	<TR>
		<TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
	</TR>
	<TR>
		<!-- TITLE TITLE TITLE TITLE TITLE TITLE TITLE TITLE  -->
		<TD ALIGN="LEFT" CLASS="header1">Run a script on multiple files</TD>
	</TR>
	<TR>
		<TD><HR WIDTH="100%" ALIGN="CENTER"></TD>
	</TR>
	<TR>
		<!-- STEP 1 STEP 1 STEP 1 STEP 1 STEP 1 STEP 1 STEP 1  -->
		<TD CLASS="boldbody">Step 1 - Browse to your images</TD>
	</TR>
	<TR>
		<TD CLASS="body">Using the Paint Shop Pro Browser, navigate to the folder containing the images you want to process, and then highlight (but don't open) the desired images.</TD>
	</TR>
	<TR>
		<TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
	</TR>
	<TR> 
		<!-- STEP 2 STEP 2 STEP 2 STEP 2 STEP 2 STEP 2 STEP 2   -->
		<TD ALIGN="LEFT" CLASS="boldbody">Step 2 - Display the Batch Process dialog</TD>
	</TR>
	<TR>
		<TD CLASS="body">With the images still highlighted in the Browser window, choose File > Batch > Process. The Batch Process dialog appears. Note that the images you chose are listed in the dialog's Files to process field at the top.</TD>
	</TR>
	<TR>
		<TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
	</TR>
	<TR> 
		<!-- STEP 3 STEP 3 STEP 3 STEP 3 STEP 3 STEP 3 STEP 3   -->
		<TD ALIGN="LEFT" CLASS="boldbody">Step 3 - Choose the script to run</TD>
	</TR>
	<TR>
		<TD CLASS="body">In the Batch Process dialog's Script section, click the Use Script option, and then use the Script drop-list to choose the desired script.</TD>
	</TR>
	<TR>
		<TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
	</TR>
	<TR>
		<!-- STEP 4 STEP 4 STEP 4 STEP 4 STEP 4 STEP 4 STEP 4   -->
		<TD ALIGN="LEFT" CLASS="boldbody">Step 4 - Choose a Save Mode option</TD>
	</TR>
	<TR>
		<TD CLASS="body">In the Batch Process dialog's Save Mode section, choose one of the options. If you don't want to overwrite the images, do not choose that option. Try using the Copy option instead.</TD>
	</TR>
	<TR>
		<TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
	</TR>
	<TR>
		<!-- STEP 5 STEP 5 STEP 5 STEP 5 STEP 5 STEP 5 STEP 5   -->
		<TD ALIGN="LEFT" CLASS="boldbody">Step 5 - Click Start</TD>
	</TR>
	<TR>
		<TD CLASS="body">Click Start to begin the processing. The script will be applied to each image you selected in Step 1.</TD>
	</TR>
	<TR>
		<TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
	</TR>
	<TR>
		<!-- Notes and Tips Notes and Tips Notes and Tips -->
		<TD VALIGN="TOP" ALIGN="LEFT" CLASS="boldbody">Notes and Tips:</TD>
	</TR>
	<TR>
		<TD>
			<TABLE BORDER="0" CELLSPACING="2" CELLPADDING="2">
				<TR>
					<TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD>
					<TD VALIGN="TOP" CLASS="body">The Batch Process feature provides a very convenient method of running a script on multiple files, although Paint Shop Pro provides other methods of doing so (such as using the History palette).</TD>
				</TR>
				<TR>
					<TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD>
					<TD VALIGN="TOP" CLASS="body">Here's another way to run a script on the images open in the workspace: a) run the script on the first image; b) make another image active; c) and then press Ctrl + Y. Repeat this for each open image.</TD>
				</TR>
				<TR>
					<TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD>
					<TD VALIGN="TOP" CLASS="body">The Batch Processing feature also provides the best way to save multiple files from one format into another file format. For more information on the Batch Processing feature or the scripting feature, refer to the Help system or User Guide.</TD>
				</TR>
			</TABLE>
		</TD>
	</TR>
	<TR>
   		<!-- Horizontal Rule Horizontal Rule Horizontal Rule Horizontal Rule Horizontal Rule    -->
    	<TD><HR WIDTH="100%"></TD>
	</TR>
	<TR>
		<TD ALIGN="LEFT" CLASS="boldbody">Learn More:</TD>
	</TR>
	<TR>
		<TD CLASS="body"><A HREF="../Basic scripting/index.htm"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="../Basic scripting/index.htm">Basic scripting</A></TD>
	</TR>
	<TR>
		<TD CLASS="body"><A HREF="../Rename multiple files simultaneously/index.htm"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="../Rename multiple files simultaneously/index.htm">Rename multiple files simultaneously</A></TD>
	</TR>
	<TR>
		<TD CLASS="body"><A HREF="../Undoing History palette actions/index.htm"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="../Undoing History palette actions/index.htm">Undoing History palette actions</A></TD>
	</TR>
	<TR>
		<TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
	</TR>
</TABLE>
</body>
</HTML>
