This script is for the photo editing program PaintShop Pro from Corel. To install this script find your Scripts-Trusted folder for your installation of PSP.
Then download this script into that folder.
To run this script open PSP and an image.
Add or turn on layer styles on a layer in your image
Select this script from the script toolbar
Hit run, it'll copy the layer styles to the clipboard. Something not possible in versions of PSP less than 2020.