If the user clicks the "Save Script" button below an operator's
python script, and then chooses to save the script somewhere,
save the description.json file next to it (where the filename will be
the script name with a .json extension) it if the following conditions
are true:
The JSON description for the operator is not empty
The file does not already exist, or the user says "yes, overwrite".
If the user clicks the "Save Script" button below an operator's python script, and then chooses to save the script somewhere, save the description.json file next to it (where the filename will be the script name with a
.json
extension) it if the following conditions are true: