Before you begin recording a script, be aware of these general rules as to what actions can actually be recorded within Paint Shop Pro:
You cannot script user interface customizations, CMYK profile creation/editing, operations inside the Browser, operations inside of Print Layout, gradient creation, or the floating/docking/arranging of toolbars, palettes and windows.
Materials palette and Mixer palette operations as well as Tool Palette selections can be scripted but are not recorded — these actions need to be written via a text editor application. Plug-ins are scriptable, but plug-ins that do not support scripting cannot be scripted.
Outside of the above restrictions, most actions you perform in Paint Shop Pro are scriptable.
Scripting rules of thumb: The longer a task takes to complete, the more desirable it is to have a script for it. However, if a task only takes two or three mouse clicks to complete, creating and running a script for those few actions may not save you any time.
To record and save a Script:
Make a note of or write down the specific actions you wish to record. Ideally, your actions should be as efficient as possible.
To begin recording, click Start Script Recording .
Perform the actions that comprise the script.
Click Save Script Recording . In the Save As dialog, do the following:
If you chose to undo any actions while recording the script, you can choose to retain (by not marking) or remove (by marking) undone commands via the Remove Undone Commands check box located toward the bottom of the Save As dialog.
Mark the Save Materials check box if you wish to save the Materials palette settings used by the scripted actions. If you do not mark this option, affected commands will use the current Materials palette settings.
Mark the Save Dialog Positions check box to display interactive dialogs in their position during recording.
Optionally, you can click the Description button to enter Author, Copyright, and Description information. The information you enter will be seen if you chose to edit the script.
Navigate (if necessary) to where the script will reside, enter a name for the script, and then click Save.
About the Script Toolbar Buttons
Using the File > Script Menu Items
Editing Scripts Using Paint Shop Pro
Editing Scripts Via the Text Editor