I did a horrible mistake the other day. In a moment of mindslip I
managed to overwrite a script I had worked on for a while with the
run only option checked, and I didn't see the mistake before i had
closed the window. I partly acuse Script Editor for this, since it
feels really stupid to have implemented the make runtime into the
"Save as…" and not as a "Save copy". It all makes me feel like a
beginner, after having done scripting also commercially for quite
some years now.
Well this leaves me with two problems:
First to see if its possible to bring back the code from the runtime
version, at least partly. I have found Jon's Commands and will see
what it can do with its script coercion command.
Secondly I thought I would make a droplet that converts scripts to
run only into a different file. I tried the load script/store script
but se that it retains the script in its original state. I had never
thought about that before.
So does anyone know a way to store a script as runtime independently
of its original state?