Any way to extract the Script code from a run-only script?

Yeah - I’m an idiot - i thought I had backed up my script but I had overwritten it as run-only. Any way to retrieve the code?

There is no way to extract the exact code from a “run only” script. You can try to run “strings -a filename.app/rsrc” on the file from the terminal.app which will reveal the properties and handler names. See this thread for additional info…

http://bbs.applescript.net/viewtopic.php?t=4635&highlight=strings

thanks much!