I have a script that I distribute in run-only form. For retesting purposes, I change some variables while running it in Script Debugger, and then change them back to export in run-only mode. Is there a way to make a script do something like this:
if run-only then set myVar to false else set myVar to true end if
Probably this is something everyone knows, but I can’t find anything about it.