
Using scripts to automate tasks 819
If you want the resulting image to be a higher resolution than the original, create a
document with proportionally larger dimensions. For example, if the original
document is 500 X 500 pixels, make the new document 1000 X 1000 pixels to
double the size.
If the destination document has a different aspect ratio from the original, the image
created by the script will be proportionally distorted.
2 In the Scripts panel, click the resolution-independent script you recorded in the
Scripts library viewer.
3 Before playing the script, choose Select All, or press Command + A (Mac OS)
or Ctrl + A (Windows) in the new document. The rectangle recorded at the outset
of the original script is referenced to the selected rectangle in this document.
4 Click Play.
The original script replays into the new document. All brushes, paper textures, and
related functions are appropriately scaled for the new resolution.
Editing, renaming, and deleting scripts
Corel Painter lets you modify scripts in different ways. You can edit script instructions
in order to change a recorded action sequence. You can also rename and delete scripts.
You can edit a script by opening the Script list, which displays the script as a series of
instructions that contain parameters, most of which are editable. You can also edit a
script by exporting the script (.txt file) and then opening the file in a text editor. For
more information, see “Importing and exporting scripts” on page 822.
To edit script parameters
1 Choose Window Scripts.
2 In the Scripts panel, click the script that you want to edit from the Scripts library
viewer.
3 Click the Scripts options button , and choose Edit Script.
Corel Painter displays a list of the script’s instructions in the Edit Script dialog
box.
4 Double-click the instruction line that you want to edit.
5 Double-click a parameter within the instruction.
6 In the parameters dialog box, make the necessary changes.
Comentarios a estos manuales