Marco Resource

A Macro Resource is a binary file with a format described by the following C structure and constants:

typedef struct MacroResource {
    uint8_t         resType;
    uint8_t         resVers;
    uint8_t         showInMenu;
    uint8_t         reserved[13];
    //  ----------------------------------------------------------
    char            variableParams[];       // (0x10) Beginning of variable "C-String" parameters
    //  char            name[];             // (0) Name (c-string)
    //  char            script[];           // (1) Macro script (c-string)
    //  ----------------------------------------------------------
} MacroResource;

// Variable Strings
#define MACRO_STR_NAME              0
#define MACRO_STR_SCRIPT            1