User Guide

22
Scripting
Scripts allow you to record every
action you make in the Corel Painter
application. Scripts can replay the
artist’s process of creating an image, or
they can hold procedures and
operations. For example, if you must
apply color adjustments to a collection
of images, you can script these
operations. Playing back the script lets
you perform color correction on other
images with the click of a button.
By default, every action you perform is
recorded in an “always script” that’s
used for operations such as undo.
Understanding Scripting
A script is similar to a video. You can
record, edit, and play it back at any
time from the Scripts palette. The
ability to edit scripts step-by-step also
gives you control over recorded action
sequences.
You can record anything in a script
from a single edit command to an
entire work session.
There are a number of ways to take
advantage of scripting:
Scripts offer the ultimate in Undo.
If you record your work, you can
revert to any stage in the project by
playing the script and stopping it at
the stage you want.
You can use scripts to create
macros. If you have a repetitive
task or an operation you use
frequently, you can record that
series of commands. Whenever
you want to perform the task, play
the script.
You can play back a script at a
different resolution. You can record
at a low resolution, then
automatically produce the same
results at a higher resolution.