{
  "dsl": {
    "version": 0,
    "execution": {
      "transactionMode": "SAFE_AUTO_COMMIT"
    },
    "entry": "setOutputPath",
    "blocks": {
      "setOutputPath": {
        "type": "setVar",
        "inputs": {
          "name": "outputPath",
          "value": {
            "type": "textJoin",
            "inputs": {
              "items": [
                "::DESKTOP::/active-sequence.",
                {
                  "type": "prGetExportFileExtension",
                  "inputs": {
                    "sequence": "::SEQ\\ACTIVE",
                    "presetPath": "embedded://presetFile"
                  }
                }
              ]
            }
          }
        },
        "next": "renderSequence"
      },
      "renderSequence": {
        "type": "prRenderSequence",
        "inputs": {
          "sequence": "::SEQ\\ACTIVE",
          "target": "IMMEDIATELY",
          "range": "ENTIRE",
          "outputPath": {
            "var": "outputPath"
          },
          "presetPath": "embedded://presetFile",
          "waitForCompletion": true,
          "onError": "STOP",
          "storeResultIn": "renderOk"
        },
        "next": "logResult"
      },
      "logResult": {
        "type": "esConsoleLog",
        "inputs": {
          "message": {
            "type": "textJoin",
            "inputs": {
              "items": [
                "rendered=",
                {
                  "var": "renderOk"
                },
                " path=",
                {
                  "var": "outputPath"
                }
              ]
            }
          }
        },
        "next": null
      }
    }
  },
  "hostCompatibility": [
    {
      "host": "premierepro"
    }
  ],
  "assetsSpec": [
    {
      "id": "presetFile",
      "kind": "file",
      "source": {
        "type": "PROMPT_FILE",
        "prompt": "Choose the .epr export preset to embed into this package."
      },
      "bundlePath": "presets/export-preset",
      "lifetime": "PERSISTENT"
    }
  ],
  "output": {
    "mode": "PROMPT_SAVE",
    "suggestedName": "render-active-sequence.abscript",
    "overwrite": true
  }
}
