When you purchase or download scripts, you have to save them in a specific location. When you install your version of PaintShop Pro, you will find one folder called Restricted scripts and one called Trusted scripts. Why is that?
Restricted scripts folder
The name of this folder implies that the functions executed by the scripts are somewhat limited. Typically, most commands in PaintShop Pro that you would have recorded should be allowed. If you use the Record button to create your own script, it will be saved in the Restricted scripts folder by default.
When you get a script and you are unsure of its source, save it in the Restricted scripts folder first. If they need to go in the other folder, you will be told so.
Trusted scripts folder
This folder, as the name implies, expects you to really TRUST the source. The reason is that EVERY command will be allowed in this folder. This includes commands that would have a permanent effect on your files or your computer, like closing a file, saving a file, deleting a file, creating a new file, etc. In addition, some very specific advanced commands will also need to be executed from the Trusted scripts folder. Unless you code scripts, you might not have to worry about it for your own scripts. In any case, always check the readme file for instructions where to save your script.
In the wrong folder?
If you accidentally put a script in the Restricted scripts folder and it should have been in the Trusted scripts folder, you will likely get an error message in the Script Output Palette saying something similar to this:
Typically, it means that you put the script in the wrong folder. That is not a problem. Move it and it should run properly.
But it is in the Trusted Scripts folder!
This happens from time to time. The script users are quite confused because the script IS in the Trusted scripts folder. But they keep getting the message that it has to be in the Trusted scripts folder. Now what? The script will check those two folders in order, starting with the Restricted scripts folder. If it finds the script (or a copy of it) in that folder, it will try to run it from there, even if you had a copy in the Trusted scripts folder. To avoid this, check to see if you might have a duplicate of the script in both folders. If that is the case, delete the copy in the Restricted scripts folder, and try it again.
What if you have checked and you have only one copy and it is in the correct folder and it still says that you need to put it in the Trusted scripts folder? What can you do? In a handful of situations, the script is in the correct folder, however, the File location setting has been set incorrectly. This is something that might have been set a while ago, so it is easy to be unaware of this issue. To check this possibility, go to File > Preferences > File location and see if the folders are matching:
Does that make sense to you now? If you are still experiencing issues, just drop an email to the script maker and explain your problem. It might also be a bug in the script (it has happened to me too!).