Restricted and Trusted Scripts

Home of the Scrapbook Campus Forums Let’s talk PSP stuff Restricted and Trusted Scripts

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9200
    Wendy
    Participant
      • 23
      • Rookie

      What is the difference between Restricted and Trusted Scripts?

      Reason I ask is that I have a script (ss-Yarn Maker00) which does not tell me where to place the script. I placed it in the restricted folder but when I run the script it ends with an error and says that it should be in the trusted folder. Even when in the trusted folder it still gives the same error.

      #9201
      Dianne
      Participant
        • 396
        • Enthusiast

        I’m tagging in so I am sure to see the reply. This has confused me too.

        #9202
        Cassel
        Keymaster
          • 2522
          • Superfan

          Scripts can include various commands, and most of them are “safe”, and they can be placed in the restricted scripts folder. However, some scripts will include commands like “closing a file” or “saving a file”. Just to make sure those commands do not damage images or your computer (worst case scenario) you have to trust those scripts, and that is why they have their separate folder.

          Usually, if a script needs to be placed in the Trusted folder and it is not, you will get an error message just like you mentioned. If you place the script in the Trusted scripts folder and you are still getting the same error, it is usually because there is already a copy of the script somewhere, in a Restricted scripts folder. PSP will read that folder FIRST and if it finds the scrip you are trying to run, it won’t check in the Trusted folder. SOLUTION: check all your Restricted scripts folder and delete the specific from there. If you can seem to find it, you can get around by renaming the script with a number or other, so that you would be sure there is no other copy anywhere else.

          For more information about troubleshooting, check out this article:

          https://scrapbookcampus.com/2015/01/my-script-failed-troubleshooting-guide/

          Hope this helps.

          #9206
          Wendy
          Participant
            • 23
            • Rookie

            Thank you for the information.

            Yes I had left the script in the Restricted folder as well as the Trusted folder.

            Now working oK.

            #9207
            Dianne
            Participant
              • 396
              • Enthusiast

              Thank you. I don’t know why I find that so hard to remember. Appreciate your response. D.

            Viewing 5 posts - 1 through 5 (of 5 total)
            • The forum ‘PSP stuff’ is closed to new topics and replies.