Which 'Scripts' folder to use: 'Trusted' or 'Restricted'?

Comments and discussions about Paint Shop Pro from Corel and formerly JASC
Post Reply
Jazzer
Plugin Novice
Plugin Novice
Posts: 2
Joined: Sat Mar 05, 2005 4:31 am

Which 'Scripts' folder to use: 'Trusted' or 'Restricted'?

Post by Jazzer »

Hi. I have a bunch of zipped scripts I downloaded the other night which it turns out include no documentation to tell me which scripts folder ('Trusted Scripts' or 'Restricted Scripts'?) they should be placed into. Also, I can't seem to (easily) trace any of them back to the Web sites I downloaded them from. So not having a lot of time on my hands to do a lot of searching..., I'm kind of stuck. Any advice? (BTW, what do the terms, "Trusted Scripts" and "Restricted Scripts" actually mean?)

Thanks,
Jazzer :-?

Jazzer
Plugin Novice
Plugin Novice
Posts: 2
Joined: Sat Mar 05, 2005 4:31 am

Re: Which 'Scripts' folder to use: 'Trusted' or 'Restricted'

Post by Jazzer »

I see my question's eliciting no response here, so I'll post it to some other PSP discussion forum.

Jazzer

Jaci
Plugin Guru
Plugin Guru
Posts: 111
Joined: Tue Apr 08, 2003 2:49 am

Post by Jaci »

Found this on PSP9's help file:


About Restricted Script Mode
The scripts in Paint Shop Pro are created in the Python program­ming language, which can unfortunately also be used to create and execute malicious scripts. Because of this potential danger, Paint Shop Pro includes two explicit directory sets that reside inside the path \Program Files\Jasc Software Inc\Paint Shop Pro 9. These directories are:

Scripts - Restricted: any script residing here is restricted, as is any script not residing in a trusted folder (see Restriction information below)

Scripts - Trusted: any script residing here is trusted.

What is Restricted?
Some general notes about Restricted scripts:

When the application searches for scripts, Restricted scripts are searched before Trusted scripts. In the Script toolbar’s Select Script drop-down list, the two sets of scripts are intermingled and listed alphabetically.

When saving a script, the path defaults to the Restricted directory for the first time this is done with the application. After that, it defaults to the most recently used directory.

If a script is run from an unconfigured path, it is treated as Restricted.

If a path appears in both the Restricted and Trusted lists, it is treated as Restricted.

Presets, Material palette Swatches, and Print Layout Templates (which are essentially scripts) are treated as Restricted.

Additionally, the following commands are not allowed when run from a Restricted script: FileSave, FileSaveAs, FileSaveCopyAs, GIFExport, PNGExport, JPEGExport, FileLocations, FileClose, FileCloseAll, FileSend, BatchConvert, BatchRename, Mapper, Slicer, FileExit.

Post Reply