Creating resolution-independent scripts
You can create a resolution-independent script that allows you to record a script that automatically adjusts to the resolution of the image in which you’re playing the script. When you’re creating the script, you can get smoother, more responsive performance by working at low resolution. Then, when you play back the script at a higher resolution, you get the benefit of a higher quality image.
The record-to-playback scaling ratio is limited. A factor of 4 is probably too much. For best results, you may need to experiment.
To record a resolution-independent script
1
Before you start recording, open a new document at the resolution in which you want to work.
2
Choose
Window
Scripts.
3
Before painting or drawing, choose
Select
All, or press
Command +
A (macOS) or
Ctrl +
A (Windows).
This action creates a reference rectangle that is part of the recording. The rectangle must be recorded to play a session back into a higher resolution file later.
4
In the
Scripts panel, click the
Record button

.
5
Deselect the reference rectangle by doing one of the following:
•
Choose
Select
None.
•
Draw inside the selected area.
•
Press
Command +
D (macOS) or
Ctrl +
D (Windows).
6
Proceed with recording the script.
To play a script at a different resolution
1
Create a new document with the resolution at which you want to play the script.
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 (macOS) 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.
The original script replays into the new document. All brushes, paper textures, and related functions are appropriately scaled for the new resolution.