applescript-disassembler icon indicating copy to clipboard operation
applescript-disassembler copied to clipboard

SCPT format description

Open Keks1993 opened this issue 2 years ago • 1 comments

Hi. Thanks for great tool. Could you provide more info about the structure of scpt-files, saved with the 'runonly' flag and in regular way.

Keks1993 avatar Aug 04 '23 05:08 Keks1993

Hello, as I understood, scpt is a serialization format that supports various data types, and code blocks are stored in data blocks (I might be wrong). Using engine.fasparser, you can see the structure of scpt file.

When run-only flag is specified, cmdBlock is not appeared in scpt file, and I guess it serves as source mapping/etc.

Jinmo avatar Aug 04 '23 05:08 Jinmo