{
  "formatVersion": 1,
  "profile": {
    "targetProcessName": "notepad",
    "targetTitleContains": "",
    "startHotkey": "Home",
    "pauseResumeHotkey": "",
    "stopHotkey": "End",
    "emergencyStopHotkey": "End",
    "repeatMode": "fixed",
    "repeatCount": 1,
    "maxDurationSeconds": null,
    "injectionMethod": "扫描码注入",
    "flow": {
      "name": "记事本速记",
      "steps": [
        {
          "type": "action",
          "action": {
            "type": "wait",
            "mode": "fixed",
            "durationMs": "800",
            "minMs": "0",
            "maxMs": "0"
          }
        },
        {
          "type": "call",
          "macroName": "写一行",
          "arguments": [
            {
              "name": "内容",
              "value": "SDO demo line 1: this line was typed by a script."
            }
          ],
          "repeat": "1"
        },
        {
          "type": "call",
          "macroName": "写一行",
          "arguments": [
            {
              "name": "内容",
              "value": "SDO demo line 2: press Home to run, End to stop."
            }
          ],
          "repeat": "1"
        },
        {
          "type": "call",
          "macroName": "写一行",
          "arguments": [
            {
              "name": "内容",
              "value": "SDO demo line 3: edit this text in the script editor."
            }
          ],
          "repeat": "1"
        },
        {
          "type": "action",
          "action": {
            "type": "wait",
            "mode": "fixed",
            "durationMs": "300",
            "minMs": "0",
            "maxMs": "0"
          }
        }
      ],
      "macros": [
        {
          "name": "写一行",
          "parameters": [
            {
              "name": "内容",
              "type": "text",
              "defaultValue": {
                "type": "text",
                "text": "Hello"
              }
            }
          ],
          "steps": [
            {
              "type": "action",
              "action": {
                "type": "text",
                "content": "$内容"
              }
            },
            {
              "type": "action",
              "action": {
                "type": "key",
                "keys": [
                  "Enter"
                ],
                "holdMs": "150"
              }
            }
          ]
        }
      ]
    }
  }
}
