471,305 Members | 1,476 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

Need help with trusted vs restricted script

I am unsure if i am posting in the right place or in the right way. Please bare with me, i am a total newbie in this forum.

I am creating a script in Paintshop pro and everything went fine excuting it, but i got this message:

------- Command Execution Failed -----------
Command Name: FileClose
Error Text: This script has attempted an operation that is not permitted in a restricted script. This script may be run by moving it to a trusted directory.
Traceback (most recent call last):
File "C:\Documents and Settings\Compaq_Owner\My Documents\My PSP Files\Scripts-Restricted\cass3-boucle9j.PspScript", line 2738, in Do
App.Do( Environment, 'FileClose', {
JascApp.Rexec Failure: Restricted script violation - this script must be trusted in order to run.

And at this point i do not know how to remove the offending command or how to make it useable. I tried to copy it in the Trusted scripts folder, but it still does not work. Since i barely know how to program in Python (i mostly know how to copy and paste commands), i am stuck and i do not want to redo it all as it was quite long (close to 3000 lines).

Could someone lend me a hand?

Dec 24 '07 #1
0 1303

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by jacob | last post: by
2 posts views Thread by Martin Feuersteiner | last post: by
21 posts views Thread by iapain | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.