I have an Applescript file that got corrupted and does not seem to be working anymore. I have tried almost everything and several script softwares, and none seemed to help.
What I would like to do, is recover (at least a part of) the script that could be read by Applescript Editor from my current scpt file. I have tried with osadecompile utility from Mac OS, but I get an error -1752 (errOSABadStorageType), and by looking at the scpt file, it seems to have stopped in the middle of it's execution (when it was supposed to grab file sizes and write them down in a Text file using TextEdit).
If possible, I would like to know if there is a tool that could read the beginning of this SCPT file and provide at least some partial code from what the original script was. It seems all other solutions require the full structure of a SCPT file to provide the final syntax.