
Setting the Ruler and Type Units
The first step in a script for Photoshop is to set what units you want to use in your code. There are two types of units to define, the Rulers and Type. The ruler unit specifies the image dimension and the type unit specifies the text size.
read more