{
  "version": 0,
  "execution": {
    "transactionMode": "SAFE_AUTO_COMMIT"
  },
  "entry": "b1",
  "blocks": {
    "b1": {
      "type": "setVar",
      "inputs": {
        "name": "presetPath",
        "value": "/Users/mmohl/AEscripts-other-repos/UXP/AutomationBlocks/automationblocks/tests/premiere-assets/sequence-presets/2000x1000 test.sqpreset"
      },
      "next": "b2"
    },
    "b2": {
      "type": "setVar",
      "inputs": {
        "name": "suffix",
        "value": {
          "type": "mathRandomInt",
          "inputs": {
            "a": 100000,
            "b": 999999
          }
        }
      },
      "next": "b3"
    },
    "b3": {
      "type": "setVar",
      "inputs": {
        "name": "sequenceNameRequested",
        "value": {
          "type": "textJoin",
          "inputs": {
            "items": [
              "AB Sequence Preset Fixture ",
              {
                "var": "suffix"
              }
            ]
          }
        }
      },
      "next": "b4"
    },
    "b4": {
      "type": "prSequenceCreate",
      "inputs": {
        "name": {
          "var": "sequenceNameRequested"
        },
        "presetPath": {
          "var": "presetPath"
        },
        "onError": "STOP",
        "storeResultIn": "createdSeq"
      },
      "next": "b5"
    },
    "b5": {
      "type": "setVar",
      "inputs": {
        "name": "createdSequenceName",
        "value": {
          "type": "prGetSequenceProperty",
          "inputs": {
            "sequence": {
              "var": "createdSeq"
            },
            "property": "NAME"
          }
        }
      },
      "next": "b6"
    },
    "b6": {
      "type": "setVar",
      "inputs": {
        "name": "frameWidth",
        "value": {
          "type": "prGetSequenceProperty",
          "inputs": {
            "sequence": {
              "var": "createdSeq"
            },
            "property": "FRAME_WIDTH"
          }
        }
      },
      "next": "b7"
    },
    "b7": {
      "type": "setVar",
      "inputs": {
        "name": "frameHeight",
        "value": {
          "type": "prGetSequenceProperty",
          "inputs": {
            "sequence": {
              "var": "createdSeq"
            },
            "property": "FRAME_HEIGHT"
          }
        }
      },
      "next": "b8"
    },
    "b8": {
      "type": "esConsoleLog",
      "inputs": {
        "message": {
          "type": "textJoin",
          "inputs": {
            "items": [
              "createdSequenceName=",
              {
                "var": "createdSequenceName"
              },
              " frameWidth=",
              {
                "var": "frameWidth"
              },
              " frameHeight=",
              {
                "var": "frameHeight"
              }
            ]
          }
        }
      },
      "next": null
    }
  }
}
