Script Debugger can open any of AppleScript’s native file types. These are the modern file formats, compatible with Panther (Mac OS X 10.3) and later. They are:
Compiled script file with the bytecode in the data fork. This is the standard modern format created by the current version of Apple’s AppleScript Editor.
Script bundle. The compiled script file (with the bytecode in the data fork) is inside the bundle.
Script Debugger can save in any of the above formats as well.
Script Debugger can also open a file in any of the older historical script formats. It doesn’t save in these older formats, so to save such a file, you’ll need to select one of the modern formats. The older formats include:
Compiled script file with the bytecode in the resource fork. This is the oldest format, going back as far as AppleScript itself.
Nonbundle applet. Script Debugger can open nonbundle applets created on any system, including a “Classic applet” (Mac OS 9 and earlier).
Script Debugger can also open a text file. The file is assumed to be UTF-8 unless there is a BOM (byte order mark) indicating otherwise; if there’s an encoding error, the file is assumed to be in the old MacRoman encoding. Line endings can be Mac or Unix.