Script Editor Icon

Protecting your scripts from being read or changed

To protect your scripts from being read or changed, you can save them as “run-only.” Run-only scripts do not contain the readable text used in editing scripts. This can be useful if you have a script that works well and you don’t want it to be changed or broken.

Important: You will not be able to edit this script again if you choose Run Only. If you want to be able to change the script be sure to save the run-only version as a copy with a different name and retain the original in the standard editable format.

To save your script as run-only:

Step 1

Open the script in Script Editor, and choose File > Save As.

Step 2

Choose a location to save your file.

Step 3

Choose a format for your script from the File Format pop-up menu.

Step 4

Select Run Only, and then click Save.