Hash a Library Script

When scripts are imported into a library, they are hashed to guard against tampering. If a library script is subsequently modified directly in the file system, for example using an external editor, it will display in red when you select the scripts block. For background information, see Hash of a Library Script.

Do this procedure to check the hash values of library scripts and re-hash them if needed.

  1. Select the scripts block. For example:
    Project > System Settings > Libraries > L4-Project > […] > [scripting library] > [scripts block]
    .
  1. In the Script Editor tab, open the Scripts expander.
  • Any scripts that were modified after import display in red, with the Valid Hash property set to False.
  1. Locate and select the script with the Valid Hash property set to False.
  1. Click Hash.
  • The hash value for the script is updated and the Valid Hash property is set to True.