does script editor keep a cache or temp files?

I was running a script i had just spen 2 hours on when a scheduled repair permissions job started. somehow, the script file got corrupted – looks partly compiled and contains process information variables in it! now the script cannot be opened in script editor at all.

is there any way to recover such a script, either from the script file or from some cache or temp files?

i had no idea that the script file is altered while running.

Hi Wood,

The Script Editor has nothing to do with this, and also every variable is saved when your script app quits unless you declare these variables as local.

gl,

it’s not a script app – it’s a .scpt, and the resultant file has all the process variables and error messages stuck within it if you open it in textedit. script editor refuses to open it.