Script to generate certificates from a photoshop document. Now you can create 100 hundered certificates in a few seconds!!
Note: This script has been tested and works with Adobe Photoshop 2020 and Windows 10. This script should work with most versions of Photoshop and on MacOS if the below steps are followed and constants are updated appropriately.
- Open a photoshop document contaning template for certificate.
- Make sure the layer containing text to be replaced by recepients' names is above all other layers.
- Download this script and open it in a text editor (like Notepad).
- (Optional) Update the
userHome
andrelativePath
constants on line 13 and 15 according to your environment. - Change the
fileNamePrefix
constant on line 17 with the prefix you want for certificates' file name which will be appended with each recepient's name. - Replace the list on line 28 with your list of recepients' names.
- (Optional) If you cannot put the text layer on top due to design or other reasons, update the
layerIndex
on line 22 accordingly. In simple words, layerIndex is equal to number of layers above the text layer. - (Optional) You can modify settings related to saving the certificate in PDF format.
- Return to Photoshop and run the script from Menu > foo > bar > Run Script > Select this script.
- Done!